mirror of https://github.com/vitalif/openscad
bugfix: context mixup after last foreach fix
parent
5417b4fa65
commit
a376c0b1f7
|
@ -115,7 +115,7 @@ std::vector<AbstractNode*> ModuleInstantiation::evaluateChildren(const Context *
|
|||
if (!ctx) ctx = this->ctx;
|
||||
std::vector<AbstractNode*> childnodes;
|
||||
BOOST_FOREACH (ModuleInstantiation *v, this->children) {
|
||||
AbstractNode *n = v->evaluate(this->ctx);
|
||||
AbstractNode *n = v->evaluate(ctx);
|
||||
if (n != NULL) childnodes.push_back(n);
|
||||
}
|
||||
return childnodes;
|
||||
|
|
Loading…
Reference in New Issue