Skip to content

Commit f60abdd

Browse files
committed
Drawings cache options - document that optional are global
Otherwise it might be confusing as this option is displayed through "Active Drawing" UI.
1 parent 9f92e48 commit f60abdd

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

  • src/bonsai/bonsai/bim/module/drawing

src/bonsai/bonsai/bim/module/drawing/prop.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,17 @@ class RasterStyleProperty(enum.Enum):
398398

399399

400400
class DocProperties(PropertyGroup):
401-
should_use_underlay_cache: BoolProperty(name="Use Underlay Cache", default=False)
402-
should_use_linework_cache: BoolProperty(name="Use Linework Cache", default=False)
403-
should_use_annotation_cache: BoolProperty(name="Use Annotation Cache", default=False)
401+
# Note that options are global in descriptions to prevent confusion,
402+
# as options are available through Active Drawing UI, but they're actually global.
403+
should_use_underlay_cache: BoolProperty(
404+
name="Use Underlay Cache", description="Global option for all drawings.", default=False
405+
)
406+
should_use_linework_cache: BoolProperty(
407+
name="Use Linework Cache", description="Global option for all drawings.", default=False
408+
)
409+
should_use_annotation_cache: BoolProperty(
410+
name="Use Annotation Cache", description="Global option for all drawings.", default=False
411+
)
404412
is_editing_drawings: BoolProperty(name="Is Editing Drawings", default=False)
405413
is_editing_schedules: BoolProperty(name="Is Editing Schedules", default=False)
406414
is_editing_references: BoolProperty(name="Is Editing References", default=False)

0 commit comments

Comments
 (0)