prop_with_search - set search_threshold to 0 for relating type properties

Otherwise it had no effect anywhere.
This commit is contained in:
Andrej730
2025-08-06 17:08:23 +05:00
parent 0f6cc23c28
commit 33f2f2e49e
4 changed files with 4 additions and 0 deletions
@@ -127,6 +127,7 @@ class CoveringToolUI:
"relating_type_id",
text="",
enable_relating_type_suggestions=True,
search_threshold=0,
)
row.operator("bim.launch_type_manager", icon=tool.Blender.TYPE_MANAGER_ICON, text="")
else:
@@ -244,6 +244,7 @@ class AnnotationToolUI:
"relating_type_id",
text="",
enable_relating_type_suggestions=True,
search_threshold=0,
)
row.operator("bim.launch_annotation_type_manager", icon=tool.Blender.TYPE_MANAGER_ICON, text="")
@@ -663,6 +663,7 @@ class CreateObjectUI:
button_kwargs={"emboss": False},
emboss=True,
enable_relating_type_suggestions=True,
search_threshold=0,
)
# Limit width because names can get really long.
row_.ui_units_x = 10.0
+1
View File
@@ -85,6 +85,7 @@ class BIM_PT_type(Panel):
"relating_type",
text="",
enable_relating_type_suggestions=True,
search_threshold=0,
)
row.operator("bim.assign_type", icon="CHECKMARK", text="")
row_object.prop(props, "relating_type_object", icon="COPYDOWN")