Fix occurrence name function prop missing after ce8bdff

This commit is contained in:
Andrej730
2025-02-10 15:04:05 +05:00
parent b2d66bbb89
commit 65d65972ac
+1 -1
View File
@@ -350,7 +350,7 @@ class BIM_ADDON_preferences(bpy.types.AddonPreferences):
def draw_model_settings(self, layout: bpy.types.UILayout, context: bpy.types.Context) -> None:
props = tool.Model.get_model_props()
layout.prop(props, "occurrence_name_style")
if props == "CUSTOM":
if props.occurrence_name_style == "CUSTOM":
layout.prop(props, "occurrence_name_function")
def draw_directories(self, layout, context):