Merging r39312 through r39329 from trunk into soc-2011-tomato
[blender.git] / release / scripts / startup / bl_ui / properties_object_constraint.py
index 867abe4..9abd2e0 100644 (file)
@@ -752,6 +752,23 @@ class ConstraintButtonsPanel():
         col = layout.column()
         col.prop(con, "rotation_range", text="Pivot When")
 
+    def FOLLOW_TRACK(self, context, layout, con):
+        layout.prop(con, "use_default_clip")
+
+        if not con.use_default_clip:
+            layout.prop(con, "clip")
+
+        layout.prop(con, "track")
+
+        row = layout.row()
+        row.prop(con, "reference", expand=True)
+
+    def CAMERA_SOLVER(self, context, layout, con):
+        layout.prop(con, "use_default_clip")
+
+        if not con.use_default_clip:
+            layout.prop(con, "clip")
+
     def SCRIPT(self, context, layout, con):
         layout.label("Blender 2.5 has no py-constraints")