Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_armature.c
| Show First 20 Lines • Show All 826 Lines • ▼ Show 20 Lines | static void rna_def_bone_common(StructRNA *srna, int editbone) | ||||
| static const EnumPropertyItem prop_inherit_scale_mode[] = { | static const EnumPropertyItem prop_inherit_scale_mode[] = { | ||||
| {BONE_INHERIT_SCALE_FULL, "FULL", 0, "Full", "Inherit all effects of parent scaling"}, | {BONE_INHERIT_SCALE_FULL, "FULL", 0, "Full", "Inherit all effects of parent scaling"}, | ||||
| {BONE_INHERIT_SCALE_FIX_SHEAR, | {BONE_INHERIT_SCALE_FIX_SHEAR, | ||||
| "FIX_SHEAR", | "FIX_SHEAR", | ||||
| 0, | 0, | ||||
| "Fix Shear", | "Fix Shear", | ||||
| "Inherit scaling, but remove shearing of the child in the rest orientation"}, | "Inherit scaling, but remove shearing of the child in the rest orientation"}, | ||||
| {BONE_INHERIT_SCALE_ALIGNED, | |||||
| "ALIGNED", | |||||
| 0, | |||||
| "Aligned", | |||||
| "Rotate non-uniform parent scaling to align with the child, applying parent X " | |||||
| "scale to child X axis, and so forth"}, | |||||
| {BONE_INHERIT_SCALE_AVERAGE, | {BONE_INHERIT_SCALE_AVERAGE, | ||||
| "AVERAGE", | "AVERAGE", | ||||
| 0, | 0, | ||||
| "Average", | "Average", | ||||
| "Inherit uniform scaling representing the overall change in the volume of the parent"}, | "Inherit uniform scaling representing the overall change in the volume of the parent"}, | ||||
| {BONE_INHERIT_SCALE_NONE, "NONE", 0, "None", "Completely ignore parent scaling"}, | {BONE_INHERIT_SCALE_NONE, "NONE", 0, "None", "Completely ignore parent scaling"}, | ||||
| {BONE_INHERIT_SCALE_NONE_LEGACY, | {BONE_INHERIT_SCALE_NONE_LEGACY, | ||||
| "NONE_LEGACY", | "NONE_LEGACY", | ||||
| ▲ Show 20 Lines • Show All 697 Lines • Show Last 20 Lines | |||||