From ba5aafef69e404eb37402d56bed6d891cf97f1c8 Mon Sep 17 00:00:00 2001 From: JoshQuake Date: Sat, 19 Oct 2024 12:50:16 -0700 Subject: [PATCH] added root name enabled condition Custom root name setting disabled if use object name as root is enabled --- src/addons/send2ue/ui/dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/send2ue/ui/dialog.py b/src/addons/send2ue/ui/dialog.py index c6c83fef..2ab6a2ea 100644 --- a/src/addons/send2ue/ui/dialog.py +++ b/src/addons/send2ue/ui/dialog.py @@ -63,7 +63,7 @@ def draw_export_tab(self, layout): properties = bpy.context.scene.send2ue self.draw_property(properties, layout, 'use_object_origin') self.draw_property(properties, layout, 'export_object_name_as_root') - self.draw_property(properties, layout, 'export_custom_root_name') + self.draw_property(properties, layout, 'export_custom_root_name', enabled=not properties.export_object_name_as_root) # animation settings box self.draw_expanding_section(