CURA-4269 added a flag to determine wether auto drop should be executed or not

This commit is contained in:
ChrisTerBeke 2017-09-18 10:50:52 +02:00
parent 86e5a1ed97
commit 4ca5987ca8
2 changed files with 13 additions and 6 deletions

View file

@ -77,7 +77,10 @@ class ThreeMFReader(MeshReader):
# \returns Uranium SceneNode.
def _convertSavitarNodeToUMNode(self, savitar_node):
um_node = SceneNode()
um_node.setSetting("auto_drop", False) # Disable the auto-drop feature when loading a project file and processing the nodes for the first time
# Disable the auto-drop feature when loading a project file and processing the nodes for the first time
um_node.setSetting("auto_drop", False)
transformation = self._createMatrixFromTransformationString(savitar_node.getTransformation())
um_node.setTransformation(transformation)
mesh_builder = MeshBuilder()