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
This commit is contained in:
2009-08-06 13:15:23 +00:00
parent 9eff68a9e9
commit 07ed542187
15 changed files with 96 additions and 159 deletions

View File

@@ -109,4 +109,4 @@ class DATA_PT_metaball_element(DataButtonsPanel):
bpy.types.register(DATA_PT_context_metaball)
bpy.types.register(DATA_PT_metaball)
bpy.types.register(DATA_PT_metaball_element)
bpy.types.register(DATA_PT_metaball_element)