Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_constraint.c
| Context not available. | |||||
| prop = RNA_def_property(srna, "head_tail", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "head_tail", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, "bConstraint", "headtail"); | RNA_def_property_float_sdna(prop, "bConstraint", "headtail"); | ||||
| RNA_def_property_ui_text(prop, "Head/Tail", "Target along length of bone: Head=0, Tail=1"); | RNA_def_property_ui_text(prop, "Head/Tail", "Target along length of bone: Head is 0, Tail is 1"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_update"); | ||||
| prop = RNA_def_property(srna, "use_bbone_shape", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_bbone_shape", PROP_BOOLEAN, PROP_NONE); | ||||
| Context not available. | |||||
| prop = RNA_def_property(srna, "target_count", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "target_count", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "tarnum"); | RNA_def_property_int_sdna(prop, NULL, "tarnum"); | ||||
| RNA_def_property_ui_text(prop, "Number of Targets", "Usually only 1-3 are needed"); | RNA_def_property_ui_text(prop, "Number of Targets", "Usually only 1 to 3 are needed"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_dependency_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_dependency_update"); | ||||
| prop = RNA_def_property(srna, "text", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "text", PROP_POINTER, PROP_NONE); | ||||
| Context not available. | |||||