diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-06 17:15:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-06 17:15:23 +0400 |
commit | 07ed54218795bf14a3049f8e1a9ab1011e239656 (patch) | |
tree | 6c17fc66abd097e9e44dd89c776b7dd00072ad35 /source/blender/makesrna/intern/rna_modifier.c | |
parent | 9eff68a9e91f79b29dcbf133c5b626a9c54bfeb0 (diff) |
pedantic changes to python UI scripts
- SOFTBODY -> SOFT_BODY
- Use getattr() with enum value to get the modifier function rather then a lot of elif's
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 9771e83468b..736d0134169 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -69,7 +69,7 @@ EnumPropertyItem modifier_type_items[] ={ {eModifierType_SimpleDeform, "SIMPLE_DEFORM", ICON_MOD_SIMPLEDEFORM, "Simple Deform", ""}, {eModifierType_Smoke, "SMOKE", 0, "Smoke", ""}, {eModifierType_Smooth, "SMOOTH", ICON_MOD_SMOOTH, "Smooth", ""}, - {eModifierType_Softbody, "SOFTBODY", ICON_MOD_SOFT, "Soft Body", ""}, + {eModifierType_Softbody, "SOFT_BODY", ICON_MOD_SOFT, "Soft Body", ""}, {eModifierType_Subsurf, "SUBSURF", ICON_MOD_SUBSURF, "Subdivision Surface", ""}, {eModifierType_Surface, "SURFACE", ICON_MOD_PHYSICS, "Surface", ""}, {eModifierType_UVProject, "UV_PROJECT", ICON_MOD_UVPROJECT, "UV Project", ""}, |