forked from bartvdbraak/blender
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.
This commit is contained in:
parent
786387e462
commit
419ff87545
@ -92,8 +92,9 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel):
|
|||||||
|
|
||||||
col = split.column()
|
col = split.column()
|
||||||
col.label()
|
col.label()
|
||||||
col.prop(fluid, "use_speed_vectors")
|
sub = col.column(align=True)
|
||||||
col.prop(fluid, "use_reverse_frames")
|
sub.prop(fluid, "use_speed_vectors")
|
||||||
|
sub.prop(fluid, "use_reverse_frames")
|
||||||
col.prop(fluid, "frame_offset", text="Offset")
|
col.prop(fluid, "frame_offset", text="Offset")
|
||||||
|
|
||||||
layout.prop(fluid, "filepath", text="")
|
layout.prop(fluid, "filepath", text="")
|
||||||
@ -295,9 +296,9 @@ class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel):
|
|||||||
|
|
||||||
fluid = context.fluid.settings
|
fluid = context.fluid.settings
|
||||||
|
|
||||||
col = layout.column(align=True)
|
row = layout.row()
|
||||||
col.prop(fluid, "tracer_particles")
|
row.prop(fluid, "tracer_particles", text="Tracer")
|
||||||
col.prop(fluid, "generate_particles")
|
row.prop(fluid, "generate_particles", text="Generate")
|
||||||
|
|
||||||
if __name__ == "__main__": # only for live edit.
|
if __name__ == "__main__": # only for live edit.
|
||||||
bpy.utils.register_module(__name__)
|
bpy.utils.register_module(__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user