def reset_trace_observer():
  trace_globals.observer = servermanager.vtkSMPythonTraceObserver()
  trace_globals.observer_active = False
Exemple #2
0
def trace_observer():
  """This method will create a new observer if none exists."""
  trace_globals.observer = trace_globals.observer if trace_globals.observer else \
                           servermanager.vtkSMPythonTraceObserver()
  return trace_globals.observer
Exemple #3
0
def reset_trace_observer():
    trace_globals.observer = servermanager.vtkSMPythonTraceObserver()
    trace_globals.observer_active = False
Exemple #4
0
def trace_observer():
    """This method will create a new observer if none exists."""
    trace_globals.observer = trace_globals.observer if trace_globals.observer else \
                             servermanager.vtkSMPythonTraceObserver()
    return trace_globals.observer