use operation stack when disconnecting
This commit is contained in:
@@ -52,7 +52,10 @@ ViewerOutput::ViewerOutput() :
|
||||
|
||||
ViewerOutput::~ViewerOutput()
|
||||
{
|
||||
// Should prevent traversing graph unnecessarily
|
||||
BeginOperation();
|
||||
DisconnectAll();
|
||||
EndOperation();
|
||||
}
|
||||
|
||||
Node *ViewerOutput::copy() const
|
||||
|
||||
@@ -55,7 +55,10 @@ Sequence::Sequence()
|
||||
|
||||
Sequence::~Sequence()
|
||||
{
|
||||
// Should prevent traversing graph unnecessarily
|
||||
BeginOperation();
|
||||
DisconnectAll();
|
||||
EndOperation();
|
||||
}
|
||||
|
||||
void Sequence::add_default_nodes(MultiUndoCommand* command)
|
||||
|
||||
Reference in New Issue
Block a user