[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22319] branches/blender2.5/blender/ release/ui/buttons_physics_smoke.py: Smoke: little fix to ui

Daniel Genrich daniel.genrich at gmx.net
Sun Aug 9 14:50:39 CEST 2009


Revision: 22319
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22319
Author:   genscher
Date:     2009-08-09 14:50:39 +0200 (Sun, 09 Aug 2009)

Log Message:
-----------
Smoke: little fix to ui

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_physics_smoke.py

Modified: branches/blender2.5/blender/release/ui/buttons_physics_smoke.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_physics_smoke.py	2009-08-09 12:43:16 UTC (rev 22318)
+++ branches/blender2.5/blender/release/ui/buttons_physics_smoke.py	2009-08-09 12:50:39 UTC (rev 22319)
@@ -38,7 +38,7 @@
 			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 @@
 				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:")
@@ -68,7 +67,12 @@
 				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()
 				col.itemL(text="Flow Group:")
 				col.itemR(md.domain_settings, "fluid_group", text="")





More information about the Bf-blender-cvs mailing list