Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenSCAD: Rewrite fixVisibility() to use rootObj
The original algorithm tried to use a heuristic to calculate which objects should be shown or hidden, based on the object name. This commit replaces that heurstic with a request for the list of root objects from FreeCAD, which is then filtered to remove those that existed before the import. Any descendant of those root objects is hidden, and the root made visible, in keeping with the design of the CSG importer.
- Loading branch information