Drawings panel: fix select_all_drawings operator

Previously it always deselected all drawings, now works as advertised
This commit is contained in:
Bruno Postle
2024-03-24 10:31:47 +00:00
parent aee264b587
commit 6944c247ca
@@ -1345,7 +1345,7 @@ class SelectAllDrawings(bpy.types.Operator):
bl_label = "Select All Drawings"
view: bpy.props.StringProperty()
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):
# deselect all drawings on shift+click