mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
prop_with_search - set search_threshold to 0 for relating type properties
Otherwise it had no effect anywhere.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user