Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_clip.py')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py36
1 files changed, 20 insertions, 16 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 968c583f1fe..c6af6bab1d1 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -55,7 +55,11 @@ class CLIP_HT_header(Header):
if sc.show_filters:
row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_DOWN', text="Filters")
- row.prop(sc, "show_graph_frames", icon='SEQUENCE', text="")
+
+ sub = row.column()
+ sub.active = clip.tracking.reconstruction.is_valid
+ sub.prop(sc, "show_graph_frames", icon='SEQUENCE', text="")
+
row.prop(sc, "show_graph_tracks", icon='ANIM', text="")
else:
row.prop(sc, "show_filters", icon='DISCLOSURE_TRI_RIGHT', text="Filters")
@@ -130,16 +134,16 @@ class CLIP_PT_tools_tracking(Panel):
props = col.operator("clip.clear_track_path", text="Clear Before")
props.action = 'UPTO'
- props = col.operator("clip.clear_track_path", text="Clear Track Path")
+ props = col.operator("clip.clear_track_path", text="Clear")
props.action = 'ALL'
- layout.operator("clip.join_tracks")
+ layout.operator("clip.join_tracks", text="Join")
-class CLIP_PT_tools_solving(Panel):
+class CLIP_PT_tools_solve(Panel):
bl_space_type = 'CLIP_EDITOR'
bl_region_type = 'TOOLS'
- bl_label = "Solving"
+ bl_label = "Solve"
@classmethod
def poll(cls, context):
@@ -154,7 +158,7 @@ class CLIP_PT_tools_solving(Panel):
settings = clip.tracking.settings
col = layout.column(align=True)
- col.operator("clip.solve_camera")
+ col.operator("clip.solve_camera", text="Camera Motion")
col.operator("clip.clear_solution")
col = layout.column(align=True)
@@ -405,8 +409,8 @@ class CLIP_PT_display(Panel):
col.prop(sc, "show_disabled", "Disabled Tracks")
col.prop(sc, "show_bundles", text="Bundles")
- col.prop(sc, "show_names", text="Track Names")
- col.prop(sc, "show_tiny_markers", text="Tiny Markers")
+ col.prop(sc, "show_names", text="Track Names and Status")
+ col.prop(sc, "show_tiny_markers", text="Compact Markers")
col.prop(sc, "show_grease_pencil", text="Grease Pencil")
col.prop(sc, "use_mute_footage", text="Mute")
@@ -421,7 +425,7 @@ class CLIP_PT_display(Panel):
clip = sc.clip
if clip:
- col.label(text="Display Aspect:")
+ col.label(text="Display Aspect Ratio:")
col.prop(clip, "display_aspect", text="")
@@ -496,23 +500,21 @@ class CLIP_PT_stabilization(Panel):
layout.prop(stab, "influence_location")
- layout.separator()
-
layout.prop(stab, "use_autoscale")
col = layout.column()
col.active = stab.use_autoscale
col.prop(stab, "scale_max")
col.prop(stab, "influence_scale")
- layout.separator()
-
- layout.label(text="Rotation:")
+ layout.prop(stab, "use_stabilize_rotation")
+ col = layout.column()
+ col.active = stab.use_stabilize_rotation
- row = layout.row(align=True)
+ row = col.row(align=True)
row.prop_search(stab, "rotation_track", tracking, "tracks", text="")
row.operator("clip.stabilize_2d_set_rotation", text="", icon='ZOOMIN')
- row = layout.row()
+ row = col.row()
row.active = stab.rotation_track is not None
row.prop(stab, "influence_rotation")
@@ -854,6 +856,7 @@ class CLIP_MT_tracking_specials(Menu):
class CLIP_MT_camera_presets(Menu):
+ """Predefined tracking camera intrinsics"""
bl_label = "Camera Presets"
preset_subdir = "tracking_camera"
preset_operator = "script.execute_preset"
@@ -861,6 +864,7 @@ class CLIP_MT_camera_presets(Menu):
class CLIP_MT_track_color_presets(Menu):
+ """Predefined track color"""
bl_label = "Color Presets"
preset_subdir = "tracking_track_color"
preset_operator = "script.execute_preset"