[Bf-blender-cvs] [03c0fa1cdb3] master: Fix T88531: Mantaflow problem with geometry nodes

Philipp Oeser noreply at git.blender.org
Wed May 26 10:27:00 CEST 2021


Commit: 03c0fa1cdb38695629c76fe6b14f733702b7061a
Author: Philipp Oeser
Date:   Tue May 25 16:34:10 2021 +0200
Branches: master
https://developer.blender.org/rB03c0fa1cdb38695629c76fe6b14f733702b7061a

Fix T88531: Mantaflow problem with geometry nodes

Objects modified by geometry nodes modifiers were not caught as being
"dynamic".

Now add this modifier type to the list of modifiers making them "dynamic"
in the eyes of mantaflow.

(noticed by @sebbas in chat)

Maniphest Tasks: T88531

Differential Revision: https://developer.blender.org/D11389

===================================================================

M	source/blender/blenkernel/intern/fluid.c

===================================================================

diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c
index 1cd5c30c2dd..493a267c2f0 100644
--- a/source/blender/blenkernel/intern/fluid.c
+++ b/source/blender/blenkernel/intern/fluid.c
@@ -632,7 +632,8 @@ static bool is_static_object(Object *ob)
              eModifierType_Explode,
              eModifierType_Ocean,
              eModifierType_ShapeKey,
-             eModifierType_Softbody)) {
+             eModifierType_Softbody,
+             eModifierType_Nodes)) {
       return false;
     }
   }



More information about the Bf-blender-cvs mailing list