Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Context not available. | |||||
| static const EnumPropertyItem prop_space_items[] = { | static const EnumPropertyItem prop_space_items[] = { | ||||
| {MOD_DISP_SPACE_LOCAL, "LOCAL", 0, "Local", "Direction is defined in local coordinates"}, | {MOD_DISP_SPACE_LOCAL, "LOCAL", 0, "Local", "Direction is defined in local coordinates"}, | ||||
| {MOD_DISP_SPACE_GLOBAL, "GLOBAL", 0, "Global", "Direction is defined in global coordinates"}, | {MOD_DISP_SPACE_GLOBAL, "GLOBAL", 0, "Global", "Direction is defined in global coordinates"}, | ||||
| {MOD_DISP_SPACE_OBJECT, "OBJECT", 0, "Object", "Direction is defined in custom objects coordinates"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Invert", "Invert vertex group influence"); | RNA_def_property_ui_text(prop, "Invert", "Invert vertex group influence"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "axis_object", PROP_POINTER, PROP_NONE); | |||||
| RNA_def_property_ui_text(prop, "Axis Object", "Object to get displacement direction from"); | |||||
| RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); | |||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | |||||
| prop = RNA_def_property(srna, "axis_bone", PROP_STRING, PROP_NONE); | |||||
| RNA_def_property_string_sdna(prop, NULL, "axis_bone"); | |||||
| RNA_def_property_ui_text(prop, "Axis Bone", "Bone to get displacement direction from"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | |||||
| rna_def_modifier_generic_map_info(srna); | rna_def_modifier_generic_map_info(srna); | ||||
| } | } | ||||
| Context not available. | |||||