Fluid: Enforce minimum thickness to planar flow / effector objects

Planar object now have a thickness by default. This should make it more intuitive for users as there is no need to specify an object thickness.
This commit is contained in:
Sebastián Barschkis
2020-03-23 23:50:25 +01:00
parent e9629e3cfd
commit cda81d5a4d
4 changed files with 83 additions and 78 deletions

View File

@@ -194,6 +194,7 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
col = flow.column()
col.prop(domain, "clipping", text="Empty Space")
col.prop(domain, "delete_in_obstacle", text="Delete In Obstacle")
if domain.cache_type == 'MODULAR':
col.separator()
@@ -272,7 +273,6 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
col.prop(effector_settings, "use_effector", text="Use Effector")
col.prop(effector_settings, "use_plane_init", text="Is Planar")
col.prop(effector_settings, "delete_in_obstacle", text="Delete In Obstacle")
if effector_settings.effector_type == 'GUIDE':
col.prop(effector_settings, "velocity_factor", text="Velocity Factor")