Annotation Tool - always show "Add type" button

It wasn't showing if you had some objects selected which seems a bit counterintuitive - the need to deselect everything to create a new type.
This commit is contained in:
Andrej730
2023-05-03 15:00:58 +05:00
parent 1ece84e31d
commit 6bd177d250
@@ -179,8 +179,7 @@ class AnnotationToolUI:
if context.active_object and context.selected_objects:
cls.draw_edit_object_interface(context)
elif not context.selected_objects:
cls.draw_create_object_interface()
cls.draw_create_object_interface()
@classmethod
def draw_create_object_interface(cls):