mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 08:25:08 +00:00
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:
@@ -179,7 +179,6 @@ class AnnotationToolUI:
|
|||||||
|
|
||||||
if context.active_object and context.selected_objects:
|
if context.active_object and context.selected_objects:
|
||||||
cls.draw_edit_object_interface(context)
|
cls.draw_edit_object_interface(context)
|
||||||
elif not context.selected_objects:
|
|
||||||
cls.draw_create_object_interface()
|
cls.draw_create_object_interface()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user