Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Force", "Relative force of the hook"); | RNA_def_property_ui_text(prop, "Force", "Relative force of the hook"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "center", PROP_FLOAT, PROP_NONE); | |||||
| RNA_def_property_float_sdna(prop, NULL, "cent"); | |||||
| RNA_def_property_ui_text(prop, "Hook Center", "The center of the hook"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_ui_text(prop, "Object", "Parent Object for hook, also recalculates and clears offset"); | RNA_def_property_ui_text(prop, "Object", "Parent Object for hook, also recalculates and clears offset"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); | RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); | ||||
| Context not available. | |||||