diff options
-rw-r--r-- | object_collection_manager/__init__.py | 2 | ||||
-rw-r--r-- | object_collection_manager/ui.py | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py index 7b32e00e..928a62ec 100644 --- a/object_collection_manager/__init__.py +++ b/object_collection_manager/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Collection Manager", "description": "Manage collections and their objects", "author": "Ryan Inch", - "version": (2, 9, 1), + "version": (2, 9, 2), "blender": (2, 80, 0), "location": "View3D - Object Mode (Shortcut - M)", "warning": '', # used for warning icon and text in addons panel diff --git a/object_collection_manager/ui.py b/object_collection_manager/ui.py index 8516ecf9..3bd614a6 100644 --- a/object_collection_manager/ui.py +++ b/object_collection_manager/ui.py @@ -702,9 +702,12 @@ class CM_UL_items(UIList): class CMDisplayOptionsPanel(Panel): bl_label = "Display Options" bl_idname = "COLLECTIONMANAGER_PT_display_options" + + # set space type to VIEW_3D and region type to HEADER + # because we only need it in a popover in the 3D View + # and don't want it always present in the UI/N-Panel bl_space_type = 'VIEW_3D' - bl_region_type = 'UI' - bl_category = "Collection Manager" + bl_region_type = 'HEADER' def draw(self, context): cm = context.scene.collection_manager |