Ocean Sim: sort alphabetically in modifier list, fix python error trying to

show "Built without OceanSim modifier" message.
This commit is contained in:
Brecht Van Lommel
2011-11-13 14:54:11 +00:00
parent 2e32ce0ed2
commit 00b695a6f3
2 changed files with 3 additions and 3 deletions

View File

@@ -416,7 +416,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
def OCEAN(self, layout, ob, md):
if not md.build_enabled:
col.label("Built without OceanSim modifier")
layout.label("Built without OceanSim modifier")
return
layout.prop(md, "geometry_mode")