mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Drawings panel: fix select_all_drawings operator
Previously it always deselected all drawings, now works as advertised
This commit is contained in:
@@ -1345,7 +1345,7 @@ class SelectAllDrawings(bpy.types.Operator):
|
|||||||
bl_label = "Select All Drawings"
|
bl_label = "Select All Drawings"
|
||||||
view: bpy.props.StringProperty()
|
view: bpy.props.StringProperty()
|
||||||
bl_description = "Select all drawings in the drawing list.\n\n" + "SHIFT+CLICK to deselect all drawings"
|
bl_description = "Select all drawings in the drawing list.\n\n" + "SHIFT+CLICK to deselect all drawings"
|
||||||
select_all: bpy.props.BoolProperty(name="Open All", default=False, options={"SKIP_SAVE"})
|
select_all: bpy.props.BoolProperty(name="Open All", default=True, options={"SKIP_SAVE"})
|
||||||
|
|
||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
# deselect all drawings on shift+click
|
# deselect all drawings on shift+click
|
||||||
|
|||||||
Reference in New Issue
Block a user