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 27349290b7
commit ae47de8851
@@ -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",