diff options
Diffstat (limited to 'src/libs/engine/Patch.cpp')
-rw-r--r-- | src/libs/engine/Patch.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/engine/Patch.cpp b/src/libs/engine/Patch.cpp index 3d8e7756..2705db36 100644 --- a/src/libs/engine/Patch.cpp +++ b/src/libs/engine/Patch.cpp @@ -115,6 +115,9 @@ Patch::prepare_internal_poly(uint32_t poly) for (Raul::List<Node*>::iterator i = _nodes.begin(); i != _nodes.end(); ++i) (*i)->prepare_poly(poly); + + for (Raul::List<Connection*>::iterator i = _connections.begin(); i != _connections.end(); ++i) + (*i)->prepare_poly(poly); /* FIXME: Deal with failure */ @@ -129,6 +132,9 @@ Patch::apply_internal_poly(Raul::Maid& maid, uint32_t poly) for (Raul::List<Node*>::iterator i = _nodes.begin(); i != _nodes.end(); ++i) (*i)->apply_poly(maid, poly); + + for (Raul::List<Connection*>::iterator i = _connections.begin(); i != _connections.end(); ++i) + (*i)->apply_poly(maid, poly); _internal_poly = poly; |