diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-21 18:44:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-21 18:44:50 +0400 |
commit | 68b9794a40d39489d811c2bef8fdee49aee3ce0a (patch) | |
tree | e7fd9fc5c10a846be5234bd7afc3d081b870fe6d /release/scripts/startup/bl_ui/space_clip.py | |
parent | 6b7d2ed8b67b9d4e44cb89802891799879212897 (diff) |
Fix #35232: Marker right-click misbehavior on adding
Made it so Add Marker button from toolbox will place
marker in the middle of the frame.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_clip.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index d38ee99edd5..ed981371924 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -211,7 +211,8 @@ class CLIP_PT_tools_marker(CLIP_PT_tracking_panel, Panel): settings = clip.tracking.settings col = layout.column(align=True) - col.operator("clip.add_marker_move") + props = col.operator("clip.add_marker") + props.location = (0.5, 0.5) col.operator("clip.detect_features") col.operator("clip.delete_track") |