Fix #32964: IK constraint had a "Target" option, which actually is an internal
[blender.git] / source / blender / makesrna / intern / rna_constraint.c
index f2454a2dcfb1a2c966423b48e1f8b53167ee0ff7..dcf214852e3dbff80cf8f7121cc193001038aaab 100644 (file)
@@ -703,11 +703,6 @@ static void rna_def_constraint_kinematic(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Lock Z Rot", "Constraint rotation along Z axis");
        RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Constraint_dependency_update");
 
-       prop = RNA_def_property(srna, "use_target", PROP_BOOLEAN, PROP_NONE);
-       RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CONSTRAINT_IK_AUTO);
-       RNA_def_property_ui_text(prop, "Target", "Disable for targetless IK");
-       RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_dependency_update");
-
        prop = RNA_def_property(srna, "use_stretch", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", CONSTRAINT_IK_STRETCH);
        RNA_def_property_ui_text(prop, "Stretch", "Enable IK Stretching");