Ocean Sim: sort alphabetically in modifier list, fix python error trying to
show "Built without OceanSim modifier" message.
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user