This commit is contained in:
Andrej730
2024-05-22 20:12:43 +05:00
parent f772a53dd5
commit e9b9113df8
+1 -1
View File
@@ -492,7 +492,7 @@ class Blender(blenderbim.core.tool.Blender):
index = props.get(prop_name)
# If value was never changed (still default), we can just retrieve it from the enum.
if index is None:
default_value = prop_keywords.get("default")
default_value = prop_keywords.get("default", 0)
if isinstance(default_value, int):
index = default_value
else: