Smoke: little fix to ui
authorDaniel Genrich <daniel.genrich@gmx.net>
Sun, 9 Aug 2009 12:50:39 +0000 (12:50 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Sun, 9 Aug 2009 12:50:39 +0000 (12:50 +0000)
release/ui/buttons_physics_smoke.py

index f2b3bc35ed882212bc4dd1de745319500db4cb57..caafb3d58f2a612075076546992fbeedd8decbff 100644 (file)
@@ -38,7 +38,7 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel):
                        split.itemL()
 
                if md:
-                       layout.itemR(md, "smoke_type")
+                       layout.itemR(md, "smoke_type", expand=True)
                
                        if md.smoke_type == 'TYPE_DOMAIN':
                                split = layout.split()
@@ -54,7 +54,6 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel):
                                sub.active = md.domain_settings.highres
                                sub.itemR(md.domain_settings, "amplify", text="High")
                                col.itemR(md.domain_settings, "highres", text="Use High Resolution")
-                               col.itemR(md.domain_settings, "strength")
                                
                                col = split.column()
                                col.itemL(text="Display:")
@@ -67,6 +66,11 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel):
                                layout.itemL(text="Noise Type:")
                                layout.itemR(md.domain_settings, "noise_type", expand=True)
                                
+                               split = layout.split()
+                               col = split.column()
+                               col.itemR(md.domain_settings, "strength")
+                               sub = split.column()
+                               
                                split = layout.split()
                                
                                col = split.column()