- removed the forcing of multigeo geometry usage when creating CNCJobs

This commit is contained in:
Marius Stanciu
2020-11-11 17:52:06 +02:00
parent dc2143f4c9
commit 23c4589a5e
3 changed files with 9 additions and 7 deletions

View File

@@ -4240,13 +4240,11 @@ class App(QtCore.QObject):
obj = self.collection.get_active()
if obj is None:
self.inform.emit('[ERROR_NOTCL] %s' %
_("Failed. Select a Geometry Object and try again."))
self.inform.emit('[ERROR_NOTCL] %s' % _("Failed. Select a Geometry Object and try again."))
return
if not isinstance(obj, GeometryObject):
self.inform.emit('[ERROR_NOTCL] %s: %s' %
(_("Expected a GeometryObject, got"), type(obj)))
self.inform.emit('[ERROR_NOTCL] %s: %s' % (_("Expected a GeometryObject, got"), type(obj)))
return
obj.multigeo = False
@@ -4260,8 +4258,7 @@ class App(QtCore.QObject):
self.should_we_save = True
self.inform.emit('[success] %s' %
_("A Geometry object was converted to SingleGeo type."))
self.inform.emit('[success] %s' % _("A Geometry object was converted to SingleGeo type."))
def on_defaults_dict_change(self, field):
"""