mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 22:16:41 +00:00
Fix #4319
StringProperty search keyword was introduced only in Blender 3.3
This commit is contained in:
@@ -97,7 +97,7 @@ class ShapeAspect(PropertyGroup):
|
|||||||
"Note that IfcMaterialConstituent is applied based on shape aspects using the same name as material constituent.\n"
|
"Note that IfcMaterialConstituent is applied based on shape aspects using the same name as material constituent.\n"
|
||||||
"In dropdown suggestions you can see names of existing material constituents."
|
"In dropdown suggestions you can see names of existing material constituents."
|
||||||
),
|
),
|
||||||
search=get_material_constituents,
|
**({} if bpy.app.version < (3, 3, 0) else {"search": get_material_constituents}),
|
||||||
)
|
)
|
||||||
description: StringProperty(
|
description: StringProperty(
|
||||||
name="Description",
|
name="Description",
|
||||||
|
|||||||
Reference in New Issue
Block a user