- small change
This commit is contained in:
parent
98e246a5c4
commit
fe5c2c7836
|
@ -8852,12 +8852,14 @@ class App(QtCore.QObject):
|
||||||
# create the selection box around the selected object
|
# create the selection box around the selected object
|
||||||
if self.defaults['global_selection_shape'] is True:
|
if self.defaults['global_selection_shape'] is True:
|
||||||
self.draw_selection_shape(obj)
|
self.draw_selection_shape(obj)
|
||||||
|
obj.selection_shape_drawn = True
|
||||||
self.collection.set_active(obj.options['name'])
|
self.collection.set_active(obj.options['name'])
|
||||||
else:
|
else:
|
||||||
if poly_selection.intersects(poly_obj):
|
if poly_selection.intersects(poly_obj):
|
||||||
# create the selection box around the selected object
|
# create the selection box around the selected object
|
||||||
if self.defaults['global_selection_shape'] is True:
|
if self.defaults['global_selection_shape'] is True:
|
||||||
self.draw_selection_shape(obj)
|
self.draw_selection_shape(obj)
|
||||||
|
obj.selection_shape_drawn = True
|
||||||
self.collection.set_active(obj.options['name'])
|
self.collection.set_active(obj.options['name'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# the Exception here will happen if we try to select on screen and we have an newly (and empty)
|
# the Exception here will happen if we try to select on screen and we have an newly (and empty)
|
||||||
|
|
Loading…
Reference in New Issue