[Bf-blender-cvs] [8a652aac01c] tracking_tools: Clip Editor: Add Clip Tools to Footage Settings

Sebastian Koenig noreply at git.blender.org
Sat Sep 25 11:10:40 CEST 2021


Commit: 8a652aac01c92011ee42dfab1c8d1cd5928084de
Author: Sebastian Koenig
Date:   Sat Sep 25 11:05:15 2021 +0200
Branches: tracking_tools
https://developer.blender.org/rB8a652aac01c92011ee42dfab1c8d1cd5928084de

Clip Editor: Add Clip Tools to Footage Settings

Since the old toolshelf is gone Prefetch and Set Scene Frames was only
avaible via the menu. I have now moved the old Clip Tools panel over to
the UI area in the Footage category. This is the category that is open
when a user opens a new clip, so now these opertors are quickly availble
from the sidebar for the user to set the scene frames and prefetch the
footage.
The Reload button is a bit redundant, since we have a button for that
in the footage settings panel as well, but this way the panel looks the
same as in 2.93.

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

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 77d7efa898f..9ed9b56b525 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -422,10 +422,10 @@ class CLIP_PT_reconstruction_panel:
 
 class CLIP_PT_tools_clip(Panel):
     bl_space_type = 'CLIP_EDITOR'
-    bl_region_type = 'TOOLS'
+    bl_region_type = 'UI'
     bl_label = "Clip"
     bl_translation_context = bpy.app.translations.contexts.id_movieclip
-    bl_category = "Track"
+    bl_category = "Footage"
 
     @classmethod
     def poll(cls, context):
@@ -1992,6 +1992,7 @@ classes = (
     CLIP_PT_marker,
     CLIP_PT_proxy,
     CLIP_PT_footage,
+    CLIP_PT_tools_clip,
     CLIP_PT_stabilization,
     CLIP_PT_2d_cursor,
     CLIP_PT_mask,



More information about the Bf-blender-cvs mailing list