[Bf-blender-cvs] [8a4864be2fa] fluid-mantaflow: make FLIP particle system toggle available even after bake
Sebastián Barschkis
noreply at git.blender.org
Wed May 2 12:24:15 CEST 2018
Commit: 8a4864be2faac7cfbeb8597aac57a15ca2e67b27
Author: Sebastián Barschkis
Date: Wed May 2 12:24:03 2018 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB8a4864be2faac7cfbeb8597aac57a15ca2e67b27
make FLIP particle system toggle available even after bake
===================================================================
M release/scripts/startup/bl_ui/properties_physics_smoke.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index 12cfa874b46..2dd5770d9c9 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -133,15 +133,19 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel, Panel):
if domain.smoke_domain_type in {'LIQUID'}:
split = layout.split()
- split.enabled = not domain.cache_baked_data and not baking_any
col = split.column(align=True)
- col.label(text="Liquid:")
- col.prop(domain, "particle_maximum")
- col.prop(domain, "particle_minimum")
- col.prop(domain, "use_flip_particles", text="Show FLIP")
+ col1 = col.column()
+ col1.enabled = not domain.cache_baked_data and not baking_any
+ col1.label(text="Liquid:")
+ col1.prop(domain, "particle_maximum")
+ col1.prop(domain, "particle_minimum")
+ col2 = col.column()
+ col2.enabled = not baking_any
+ col2.prop(domain, "use_flip_particles", text="Show FLIP")
col = split.column(align=True)
+ col.enabled = not domain.cache_baked_data and not baking_any
col.label()
col.prop(domain, "particle_number")
col.prop(domain, "particle_band_width")
More information about the Bf-blender-cvs
mailing list