- edited some icons so they don't contain white background
- fixed an incorrect usage of object in the app.select_objects() method
|
@ -8869,15 +8869,14 @@ class App(QtCore.QObject):
|
|||
# create the selection box around the selected object
|
||||
if self.defaults['global_selection_shape'] is True:
|
||||
self.draw_selection_shape(obj)
|
||||
obj.selection_shape_drawn = True
|
||||
self.collection.set_active(obj.options['name'])
|
||||
else:
|
||||
if poly_selection.intersects(poly_obj):
|
||||
# create the selection box around the selected object
|
||||
if self.defaults['global_selection_shape'] is True:
|
||||
self.draw_selection_shape(obj)
|
||||
obj.selection_shape_drawn = True
|
||||
self.collection.set_active(obj.options['name'])
|
||||
obj.selection_shape_drawn = True
|
||||
except Exception as e:
|
||||
# the Exception here will happen if we try to select on screen and we have an newly (and empty)
|
||||
# just created Geometry or Excellon object that do not have the xmin, xmax, ymin, ymax options.
|
||||
|
@ -8957,7 +8956,7 @@ class App(QtCore.QObject):
|
|||
# make active the first element of the overlapped objects list
|
||||
if self.collection.get_active() is None:
|
||||
self.collection.set_active(objects_under_the_click_list[0])
|
||||
objects_under_the_click_list[0].selection_shape_drawn = True
|
||||
self.collection.get_by_name(objects_under_the_click_list[0]).selection_shape_drawn = True
|
||||
|
||||
name_sel_obj = self.collection.get_active().options['name']
|
||||
# In case that there is a selected object but it is not in the overlapped object list
|
||||
|
|
|
@ -9,6 +9,11 @@ CAD program, and create G-Code for Isolation routing.
|
|||
|
||||
=================================================
|
||||
|
||||
24.12.2019
|
||||
|
||||
- edited some icons so they don't contain white background
|
||||
- fixed an incorrect usage of object in the app.select_objects() method
|
||||
|
||||
23.12.2019
|
||||
|
||||
- some fixes in the Legacy(2D) graphic mode regarding the possibility of changing the color of the Gerber objects
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
share/copy32.png
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 679 B |
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 587 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 594 B |
BIN
share/join16.png
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 473 B |
BIN
share/join32.png
Before Width: | Height: | Size: 760 B After Width: | Height: | Size: 987 B |
BIN
share/move32.png
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 959 B |
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 584 B |
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 736 B |
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 717 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 609 B |