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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user