From f60abdd18f9e6fe8efc42a0f4c7d276754d9932c Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 11 Aug 2025 12:36:31 +0500 Subject: [PATCH] Drawings cache options - document that optional are global Otherwise it might be confusing as this option is displayed through "Active Drawing" UI. --- src/bonsai/bonsai/bim/module/drawing/prop.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/prop.py b/src/bonsai/bonsai/bim/module/drawing/prop.py index 4ab3410e55..2bffdaa533 100644 --- a/src/bonsai/bonsai/bim/module/drawing/prop.py +++ b/src/bonsai/bonsai/bim/module/drawing/prop.py @@ -398,9 +398,17 @@ RASTER_STYLE_PROPERTIES_EXCLUDE = ("scene.render.filepath",) class DocProperties(PropertyGroup): - should_use_underlay_cache: BoolProperty(name="Use Underlay Cache", default=False) - should_use_linework_cache: BoolProperty(name="Use Linework Cache", default=False) - should_use_annotation_cache: BoolProperty(name="Use Annotation Cache", default=False) + # Note that options are global in descriptions to prevent confusion, + # as options are available through Active Drawing UI, but they're actually global. + should_use_underlay_cache: BoolProperty( + name="Use Underlay Cache", description="Global option for all drawings.", default=False + ) + should_use_linework_cache: BoolProperty( + name="Use Linework Cache", description="Global option for all drawings.", default=False + ) + should_use_annotation_cache: BoolProperty( + name="Use Annotation Cache", description="Global option for all drawings.", default=False + ) is_editing_drawings: BoolProperty(name="Is Editing Drawings", default=False) is_editing_schedules: BoolProperty(name="Is Editing Schedules", default=False) is_editing_references: BoolProperty(name="Is Editing References", default=False)