Commit 429092f3 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

ENH: VTK: Added two new events to vtkCommand to use when connections are created/dropped.

ENH: ParaView: vtkProcessModule now fires the newly added connection events when connections are created.dropped. vtkSMUndoStack listens to these events to manage undo stack when a connection gets disconnected. All undo/redo operations for the connection are removed when a connection is closed.
parent 0b10cfbf
......@@ -83,6 +83,8 @@ static const char *vtkCommandEventStrings[] = {
"WidgetModifiedEvent",
"WidgetValueChangedEvent",
"WidgetActivateEvent",
"ConnectionCreatedEvent",
"ConnectionClosedEvent",
"DomainModifiedEvent",
"PropertyModifiedEvent",
"UpdateEvent",
......
......@@ -163,6 +163,8 @@ public:
WidgetModifiedEvent,
WidgetValueChangedEvent,
WidgetActivateEvent,
ConnectionCreatedEvent,
ConnectionClosedEvent,
DomainModifiedEvent,
PropertyModifiedEvent,
UpdateEvent,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment