Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Show First 20 Lines • Show All 2,113 Lines • ▼ Show 20 Lines | static void rna_def_modifier_armature(BlenderRNA *brna) | ||||
| RNA_def_property_pointer_funcs( | RNA_def_property_pointer_funcs( | ||||
| prop, NULL, "rna_ArmatureModifier_object_set", NULL, "rna_Armature_object_poll"); | prop, NULL, "rna_ArmatureModifier_object_set", NULL, "rna_Armature_object_poll"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); | RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | ||||
| prop = RNA_def_property(srna, "use_bone_envelopes", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_bone_envelopes", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_ENVELOPE); | RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_ENVELOPE); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_ui_text(prop, "Use Bone Envelopes", "Bind Bone envelopes to armature modifier"); | RNA_def_property_ui_text(prop, "Use Bone Envelopes", "Bind Bone envelopes to armature modifier"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | ||||
| prop = RNA_def_property(srna, "use_vertex_groups", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_vertex_groups", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_VGROUP); | RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_VGROUP); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_ui_text(prop, "Use Vertex Groups", "Bind vertex groups to armature modifier"); | RNA_def_property_ui_text(prop, "Use Vertex Groups", "Bind vertex groups to armature modifier"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); | ||||
| prop = RNA_def_property(srna, "use_deform_preserve_volume", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_deform_preserve_volume", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_QUATERNION); | RNA_def_property_boolean_sdna(prop, NULL, "deformflag", ARM_DEF_QUATERNION); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Preserve Volume", "Deform rotation interpolation with quaternions"); | prop, "Preserve Volume", "Deform rotation interpolation with quaternions"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_multi_modifier", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_multi_modifier", PROP_BOOLEAN, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 3,813 Lines • Show Last 20 Lines | |||||