mirror of https://github.com/vitalif/openscad
Last #235 fix: Don't return empty PolySets, as they will be interpreted as 3D object later, causing a mixed 2D-3D error
parent
ff83978cf3
commit
c9df4c0d26
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue