From 73aa1e7ee9a172e1613d3630759c4cf7070baeae Mon Sep 17 00:00:00 2001 From: Tristan Strathearn Date: Sat, 7 May 2022 14:20:00 +1000 Subject: [PATCH] fix: update set_lod_suffix mode type in utils_menu --- interface/utils_menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/utils_menu.py b/interface/utils_menu.py index 7003295..0d1c3c5 100644 --- a/interface/utils_menu.py +++ b/interface/utils_menu.py @@ -23,8 +23,8 @@ def draw(self, context): layout = self.layout layout.operator_context = 'INVOKE_DEFAULT' layout.operator("nd.name_sync", icon='FILE_REFRESH') - layout.operator("nd.set_lod_suffix", text="Low LOD", icon='ALIASED').suffix = 'LOW' - layout.operator("nd.set_lod_suffix", text="High LOD", icon='ANTIALIASED').suffix = 'HIGH' + layout.operator("nd.set_lod_suffix", text="Low LOD", icon='ALIASED').mode = 'LOW' + layout.operator("nd.set_lod_suffix", text="High LOD", icon='ANTIALIASED').mode = 'HIGH' layout.separator() layout.operator("nd.set_origin", icon='TRANSFORM_ORIGINS') layout.separator()