diff options
author | Thomas Dinges <blender@dingto.org> | 2013-03-01 23:07:28 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-03-01 23:07:28 +0400 |
commit | 419ff8754548d8d7960f435420c4b30093ea6e2d (patch) | |
tree | fa936d4ad2ef0e041f057f37c3eb0174691a571a /release | |
parent | 786387e462694254dc11b3ad15f8410b32824861 (diff) |
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.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_fluid.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py index 2164b86f486..696e895fa67 100644 --- a/release/scripts/startup/bl_ui/properties_physics_fluid.py +++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py @@ -92,8 +92,9 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel): 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 @@ class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel): 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__) |