2.5 - Constraints Editing + Keyframe Drawing Tweaks
[blender-staging.git] / source / blender / editors / space_view3d / view3d_header.c
index 677d3c20de1d5f33c7573cf9c2bb901a4a8bbbbf..bdc6bdb56012436a8ed2dbca31c377a7c3778904 100644 (file)
@@ -1993,7 +1993,7 @@ static void view3d_edit_object_trackmenu(bContext *C, uiLayout *layout, void *ar
 
 static void view3d_edit_object_constraintsmenu(bContext *C, uiLayout *layout, void *arg_unused)
 {
-       uiItemBooleanO(layout, NULL, 0, "OBJECT_OT_constraint_add", "set_targets", 1); // XXX it'd be better to have the version which sets links...
+       uiItemO(layout, NULL, 0, "OBJECT_OT_constraint_add_with_targets");
        uiItemO(layout, NULL, 0, "OBJECT_OT_constraints_clear");
 }