diff --git a/cq_editor/widgets/object_tree.py b/cq_editor/widgets/object_tree.py index c0ea1dcf..2030bd19 100644 --- a/cq_editor/widgets/object_tree.py +++ b/cq_editor/widgets/object_tree.py @@ -269,7 +269,9 @@ def addObjects(self,objects,clean=False,root=None): self.sigObjectsAdded[list].emit(ais_list) @pyqtSlot(object,str,object) - def addObject(self,obj,name='',options={}): + def addObject(self,obj,name='',options=None): + + if options is None: options={} root = self.CQ