Camera tracking integration
[blender.git] / release / scripts / startup / bl_ui / space_clip.py
index 7a5250b16e5d2ea48a14f8888661dcc31cf0f387..e4b15d2b2b30b4489887e489dd4b6bd20d3aaf78 100644 (file)
@@ -179,7 +179,10 @@ class CLIP_PT_tools(bpy.types.Panel):
             col.label(text="Scene Orientation:")
             col.operator("clip.set_floor")
             col.operator("clip.set_origin")
-            col.operator("clip.set_x_axis")
+
+            row = col.row()
+            row.operator("clip.set_axis", text="Set X Axis").axis = 'X'
+            row.operator("clip.set_axis", text="Set Y Axis").axis = 'Y'
         else:
             layout.operator('clip.open')
 
@@ -240,7 +243,6 @@ class CLIP_PT_track_settings(bpy.types.Panel):
         row.prop(settings, "frames_limit")
 
 
-
 class CLIP_PT_tracking_camera(bpy.types.Panel):
     bl_space_type = 'CLIP_EDITOR'
     bl_region_type = 'UI'