Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_armature.c
| Context not available. | |||||
| /* Number values */ | /* Number values */ | ||||
| /* envelope deform settings */ | /* envelope deform settings */ | ||||
| prop = RNA_def_property(srna, "envelope_distance", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "envelope_distance", PROP_FLOAT, PROP_DISTANCE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "dist"); | RNA_def_property_float_sdna(prop, NULL, "dist"); | ||||
| RNA_def_property_range(prop, 0.0f, 1000.0f); | RNA_def_property_range(prop, 0.0f, 1000.0f); | ||||
| RNA_def_property_ui_text(prop, "Envelope Deform Distance", "Bone deformation distance (for Envelope deform only)"); | RNA_def_property_ui_text(prop, "Envelope Deform Distance", "Bone deformation distance (for Envelope deform only)"); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Envelope Deform Weight", "Bone deformation weight (for Envelope deform only)"); | RNA_def_property_ui_text(prop, "Envelope Deform Weight", "Bone deformation weight (for Envelope deform only)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | ||||
| prop = RNA_def_property(srna, "head_radius", PROP_FLOAT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "head_radius", PROP_FLOAT, PROP_DISTANCE); | ||||
| if (editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update"); | if (editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update"); | ||||
| else RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | else RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | ||||
| RNA_def_property_float_sdna(prop, NULL, "rad_head"); | RNA_def_property_float_sdna(prop, NULL, "rad_head"); | ||||
| Context not available. | |||||
| RNA_def_property_ui_range(prop, 0.01, 100, 0.1, 3); | RNA_def_property_ui_range(prop, 0.01, 100, 0.1, 3); | ||||
| RNA_def_property_ui_text(prop, "Envelope Head Radius", "Radius of head of bone (for Envelope deform only)"); | RNA_def_property_ui_text(prop, "Envelope Head Radius", "Radius of head of bone (for Envelope deform only)"); | ||||
| prop = RNA_def_property(srna, "tail_radius", PROP_FLOAT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "tail_radius", PROP_FLOAT, PROP_DISTANCE); | ||||
| if (editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update"); | if (editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update"); | ||||
| else RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | else RNA_def_property_update(prop, 0, "rna_Armature_update_data"); | ||||
| RNA_def_property_float_sdna(prop, NULL, "rad_tail"); | RNA_def_property_float_sdna(prop, NULL, "rad_tail"); | ||||
| Context not available. | |||||