Skip to content

Commit

Permalink
added root name enabled condition
Browse files Browse the repository at this point in the history
Custom root name setting disabled if use object name as root is enabled
  • Loading branch information
JoshQuake committed Oct 19, 2024
1 parent 812e564 commit ba5aafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/send2ue/ui/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ba5aafe

Please sign in to comment.