[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42734] branches/soc-2011-tomato/release/ scripts/startup/bl_ui/space_clip.py: Object tracking: update of UI script

Sergey Sharybin sergey.vfx at gmail.com
Mon Dec 19 16:20:12 CET 2011


Revision: 42734
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42734
Author:   nazgul
Date:     2011-12-19 15:20:12 +0000 (Mon, 19 Dec 2011)
Log Message:
-----------
Object tracking: update of UI script

Forgot to include this changes in previous commit

Modified Paths:
--------------
    branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py

Modified: branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py
===================================================================
--- branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py	2011-12-19 15:12:33 UTC (rev 42733)
+++ branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py	2011-12-19 15:20:12 UTC (rev 42734)
@@ -325,14 +325,16 @@
         tracking_object = clip.tracking.objects.active
         settings = sc.clip.tracking.settings
 
-        layout.prop(tracking_object, "scale")
+        col = layout.column()
 
-        layout.separator()
+        col.prop(tracking_object, "scale")
 
-        layout.operator("clip.set_solution_scale", text="Set Scale")
-        layout.prop(settings, "object_distance")
+        col.separator()
 
+        col.operator("clip.set_solution_scale", text="Set Scale")
+        col.prop(settings, "object_distance")
 
+
 class CLIP_PT_tools_grease_pencil(Panel):
     bl_space_type = 'CLIP_EDITOR'
     bl_region_type = 'TOOLS'




More information about the Bf-blender-cvs mailing list