diff options
Diffstat (limited to 'src/progs/ingenuity/PatchCanvas.cpp')
-rw-r--r-- | src/progs/ingenuity/PatchCanvas.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/progs/ingenuity/PatchCanvas.cpp b/src/progs/ingenuity/PatchCanvas.cpp index 2279a053..13ceaac0 100644 --- a/src/progs/ingenuity/PatchCanvas.cpp +++ b/src/progs/ingenuity/PatchCanvas.cpp @@ -120,6 +120,16 @@ PatchCanvas::build() void +PatchCanvas::arrange() +{ + LibFlowCanvas::FlowCanvas::arrange(); + + for (list<boost::shared_ptr<Item> >::iterator i = _items.begin(); i != _items.end(); ++i) + (*i)->store_location(); +} + + +void PatchCanvas::add_node(SharedPtr<NodeModel> nm) { boost::shared_ptr<PatchCanvas> shared_this = |