diff --git a/leenkx/blender/lnx/props_ui.py b/leenkx/blender/lnx/props_ui.py index d9adb2a2..c34d9316 100644 --- a/leenkx/blender/lnx/props_ui.py +++ b/leenkx/blender/lnx/props_ui.py @@ -63,7 +63,7 @@ class LNX_PT_ObjectPropsPanel(bpy.types.Panel): return col = layout.column() - col.prop(mat, 'lnx_sorting_index') + col.prop(obj, 'lnx_sorting_index') col.prop(obj, 'lnx_export') if not obj.lnx_export: return