[Bf-blender-cvs] [25873ff0f71] tracking_tools: Clip Editor: Remove Objects Panel from sidebar

Sebastian Koenig noreply at git.blender.org
Tue Apr 12 15:24:21 CEST 2022


Commit: 25873ff0f71547f8e5eef4e73061c8fa2784a221
Author: Sebastian Koenig
Date:   Tue Apr 12 15:22:21 2022 +0200
Branches: tracking_tools
https://developer.blender.org/rB25873ff0f71547f8e5eef4e73061c8fa2784a221

Clip Editor: Remove Objects Panel from sidebar

Since the objects panel is now accessible from the header, we don't need
to have it in the sidebar anymore.

Also, the Lens Panel was closed by default. However, it doesn't really
make sense to hide the Lens parameters from the camera, since they are
essential to solving.

===================================================================

M	release/scripts/startup/bl_ui/space_clip.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 19bc7ae5bde..85c49ff9563 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -739,10 +739,8 @@ class CLIP_PT_orientation(CLIP_PT_reconstruction_panel, Panel):
 
 class CLIP_PT_objects(CLIP_PT_clip_view_panel, Panel):
     bl_space_type = 'CLIP_EDITOR'
-    bl_region_type = 'UI'
-    bl_category = "Track"
+    bl_region_type = 'HEADER'
     bl_label = "Objects"
-    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         layout = self.layout
@@ -996,7 +994,6 @@ class CLIP_PT_tracking_lens(Panel):
     bl_category = "Track"
     bl_label = "Lens"
     bl_parent_id = 'CLIP_PT_tracking_camera'
-    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):



More information about the Bf-blender-cvs mailing list