mirror of https://github.com/vitalif/openscad
fixup root modifier bug
parent
6535b16a31
commit
f897fad9b8
|
@ -74,7 +74,6 @@ private slots:
|
|||
private:
|
||||
void openFile(const QString &filename);
|
||||
void refreshDocument();
|
||||
AbstractNode *find_root_tag(AbstractNode *n);
|
||||
void updateTemporalVariables();
|
||||
bool fileChangedOnDisk();
|
||||
bool includesChanged();
|
||||
|
|
|
@ -103,6 +103,7 @@ std::ostream &operator<<(std::ostream &stream, const AbstractNode &node)
|
|||
return stream;
|
||||
}
|
||||
|
||||
// Do we have an explicit root node (! modifier)?
|
||||
AbstractNode *find_root_tag(AbstractNode *n)
|
||||
{
|
||||
BOOST_FOREACH(AbstractNode *v, n->children) {
|
||||
|
|
Loading…
Reference in New Issue