- fixed unreliable work of Gerber Editor and optimized the App.editor2object() method
This commit is contained in:
@@ -4744,8 +4744,8 @@ class FlatCAMGeoEditor(QtCore.QObject):
|
||||
Transfers the geometry tool shape buffer to the selected geometry
|
||||
object. The geometry already in the object are removed.
|
||||
|
||||
:param fcgeometry: GeometryObject
|
||||
:return: None
|
||||
:param fcgeometry: GeometryObject
|
||||
:return: None
|
||||
"""
|
||||
if self.multigeo_tool:
|
||||
fcgeometry.tools[self.multigeo_tool]['solid_geometry'] = []
|
||||
@@ -4770,6 +4770,8 @@ class FlatCAMGeoEditor(QtCore.QObject):
|
||||
new_geo = linemerge(new_geo)
|
||||
fcgeometry.solid_geometry.append(new_geo)
|
||||
|
||||
self.deactivate()
|
||||
|
||||
def update_options(self, obj):
|
||||
if self.paint_tooldia:
|
||||
obj.options['cnctooldia'] = deepcopy(str(self.paint_tooldia))
|
||||
|
||||
Reference in New Issue
Block a user