StringProperty search keyword was introduced only in Blender 3.3
This commit is contained in:
Andrej730
2024-02-15 14:53:11 +05:00
parent 0e0678b926
commit 5d7b6ad998
@@ -97,7 +97,7 @@ class ShapeAspect(PropertyGroup):
"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."
),
search=get_material_constituents,
**({} if bpy.app.version < (3, 3, 0) else {"search": get_material_constituents}),
)
description: StringProperty(
name="Description",