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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-05-09 20:38:55 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-05-09 20:38:55 +0400
commit97138e4dacab2187a76dd06b6dc100a30548ee20 (patch)
tree2f3f71cabcb54dee8e0ea185a251baa1b0a7b55c /release
parent5eefcb95dfdb60e7a754b283c8e9907a5b5f638f (diff)
Added a button to apply scale on scene solution
This is an alternative to using camera to scale the scene and it's expected to be better solution because scaling camera leads to issues with z-buffer. Found the whole scaling thing a bit confusing, especially for object tracking, but cleaning this up is a bit different topic.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index cadf01ccbba..6195ec2245a 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -399,7 +399,9 @@ class CLIP_PT_tools_orientation(CLIP_PT_reconstruction_panel, Panel):
layout.separator()
col = layout.column()
- col.operator("clip.set_scale")
+ row = col.row(align=True);
+ row.operator("clip.set_scale")
+ row.operator("clip.apply_solution_scale", text="Apply Scale")
col.prop(settings, "distance")