Last #235 fix: Don't return empty PolySets, as they will be interpreted as 3D object later, causing a mixed 2D-3D error

c++11
Marius Kintel 2014-02-19 23:33:31 -05:00
parent ff83978cf3
commit c9df4c0d26
1 changed files with 0 additions and 3 deletions

View File

@ -307,9 +307,6 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const
PRINTB("ERROR: Unsupported file format while trying to import file '%s'", this->filename);
}
if (!p) p = new PolySet();
if (p) p->convexity = this->convexity;
return p;
}