- small bug fixes

This commit is contained in:
Marius Stanciu
2019-05-05 17:40:03 +03:00
parent 4c00f567a4
commit b07ce477a3
2 changed files with 5 additions and 2 deletions

View File

@@ -2257,7 +2257,7 @@ class App(QtCore.QObject):
self.grb_editor.deactivate_grb_editor()
# delete the old object (the source object) if it was an empty one
if edited_obj.solid_geometry.is_empty:
if not edited_obj.solid_geometry:
old_name = edited_obj.options['name']
self.collection.set_active(old_name)
self.collection.delete_active()