Revert "node: set ignore node when positioning and shifting recursively"

This reverts commit 6481304206.
This commit is contained in:
itsmattkc
2021-04-14 23:10:08 +10:00
parent 6b7412aff6
commit 0d315d668a
2 changed files with 2 additions and 11 deletions
+1 -9
View File
@@ -1351,8 +1351,7 @@ public:
NodeSetPositionAndShiftSurroundingsCommand(Node* node, const QPointF& pos, bool move_dependencies_relatively) :
node_(node),
position_(pos),
move_dependencies_(move_dependencies_relatively),
ignore_node_(nullptr)
move_dependencies_(move_dependencies_relatively)
{}
virtual ~NodeSetPositionAndShiftSurroundingsCommand() override
@@ -1374,11 +1373,6 @@ public:
}
}
void SetIgnoreNode(Node* n)
{
ignore_node_ = n;
}
private:
Node* node_;
@@ -1388,8 +1382,6 @@ private:
QVector<UndoCommand*> commands_;
Node* ignore_node_;
};
class NodeSetPositionAsChildCommand : public UndoCommand