- minor UI changes for Gerber UI
- after an object move, the apertures plotted shapes are deleted from canvas and the mark all button is deselected - fixed offset, rotate, scale, skew for follow_geometry. Fixed the move tool also. - fixed offset, rotate, scale, skew for 'solid_geometry' inside the self.apertures.
This commit is contained in:
@@ -122,8 +122,12 @@ class ToolMove(FlatCAMTool):
|
||||
else:
|
||||
for sel_obj in obj_list:
|
||||
|
||||
# offset
|
||||
sel_obj.offset((dx, dy))
|
||||
sel_obj.plot()
|
||||
sel_obj.clear_plot_apertures()
|
||||
sel_obj.clear_mark_all()
|
||||
|
||||
# Update the object bounding box options
|
||||
a,b,c,d = sel_obj.bounds()
|
||||
sel_obj.options['xmin'] = a
|
||||
|
||||
@@ -163,7 +163,7 @@ class Properties(FlatCAMTool):
|
||||
printed_value = 'Present' if v else 'None'
|
||||
self.addChild(geo_tool, [str(k), printed_value], True)
|
||||
elif k == 'data':
|
||||
tool_data = self.addParent(geo_tool, str(k).capilalize(),
|
||||
tool_data = self.addParent(geo_tool, str(k).capitalize(),
|
||||
color=QtGui.QColor("#000000"), font=font)
|
||||
for data_k, data_v in v.items():
|
||||
self.addChild(tool_data, [str(data_k), str(data_v)], True)
|
||||
|
||||
Reference in New Issue
Block a user