[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54963] trunk/blender/release/scripts/ startup/bl_ui/properties_physics_fluid.py: UI / Properties Editor:

Thomas Dinges blender at dingto.org
Fri Mar 1 20:07:28 CET 2013


Revision: 54963
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54963
Author:   dingto
Date:     2013-03-01 19:07:28 +0000 (Fri, 01 Mar 2013)
Log Message:
-----------
UI / Properties Editor:
* Some alignment fixes for Fluid Buttons in the "Fluid" panel. 
* Tweaked Fluid Particle buttons a bit, no need to have redundant "Particle" name inside the "Fluid Particles" panel. 

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py	2013-03-01 18:45:41 UTC (rev 54962)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py	2013-03-01 19:07:28 UTC (rev 54963)
@@ -92,8 +92,9 @@
 
             col = split.column()
             col.label()
-            col.prop(fluid, "use_speed_vectors")
-            col.prop(fluid, "use_reverse_frames")
+            sub = col.column(align=True)
+            sub.prop(fluid, "use_speed_vectors")
+            sub.prop(fluid, "use_reverse_frames")
             col.prop(fluid, "frame_offset", text="Offset")
 
             layout.prop(fluid, "filepath", text="")
@@ -295,9 +296,9 @@
 
         fluid = context.fluid.settings
 
-        col = layout.column(align=True)
-        col.prop(fluid, "tracer_particles")
-        col.prop(fluid, "generate_particles")
+        row = layout.row()
+        row.prop(fluid, "tracer_particles", text="Tracer")
+        row.prop(fluid, "generate_particles", text="Generate")
 
 if __name__ == "__main__":  # only for live edit.
     bpy.utils.register_module(__name__)




More information about the Bf-blender-cvs mailing list