- fixed a bug in Gerber merge
- bypassed a bug in FlatCAM Gerber UI - its not really fixed (it's a crash in build UI when disconnecting signals due of the wrapped C++ object already destroyed)
This commit is contained in:
@@ -7,6 +7,11 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
13.03.2021
|
||||||
|
|
||||||
|
- fixed a bug in Gerber merge
|
||||||
|
- bypassed a bug in FlatCAM Gerber UI - its not really fixed (it's a crash in build UI when disconnecting signals due of the wrapped C++ object already destroyed)
|
||||||
|
|
||||||
11.03.2021
|
11.03.2021
|
||||||
|
|
||||||
- fixed issue when exporting DXF and not settings the units
|
- fixed issue when exporting DXF and not settings the units
|
||||||
|
|||||||
@@ -1776,8 +1776,7 @@ class GerberObject(FlatCAMObj, Gerber):
|
|||||||
else:
|
else:
|
||||||
# create a list of integers out of the grb.tools keys and find the max of that value
|
# create a list of integers out of the grb.tools keys and find the max of that value
|
||||||
# then, the aperture duplicate is assigned an id value incremented with 1,
|
# then, the aperture duplicate is assigned an id value incremented with 1,
|
||||||
# and finally made string because the apertures dict keys are strings
|
max_ap = max([int(k) for k in grb_final.tools.keys()]) + 1
|
||||||
max_ap = str(max([int(k) for k in grb_final.tools.keys()]) + 1)
|
|
||||||
grb_final.tools[max_ap] = {}
|
grb_final.tools[max_ap] = {}
|
||||||
grb_final.tools[max_ap]['geometry'] = []
|
grb_final.tools[max_ap]['geometry'] = []
|
||||||
|
|
||||||
|
|||||||
@@ -993,7 +993,10 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if obj:
|
if obj:
|
||||||
obj.build_ui()
|
try:
|
||||||
|
obj.build_ui()
|
||||||
|
except RuntimeError:
|
||||||
|
pass
|
||||||
|
|
||||||
self.app.proj_selection_changed.emit(current, previous)
|
self.app.proj_selection_changed.emit(current, previous)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user