Commit: ff2fa5968931ff49fb554786543422367e6f2187
Author: Jacques Lucke
Date:   Wed Jul 15 12:45:40 2020 +0200
Branches: master
https://developer.blender.org/rBff2fa5968931ff49fb554786543422367e6f2187

Fix T76690: Incorrect liquid particle count displayed

Reviewers: sergey, sebbas

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

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

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

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

diff --git a/source/blender/blenkernel/intern/particle_system.c 
b/source/blender/blenkernel/intern/particle_system.c
index cd821077292..bf9aea81181 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -4966,6 +4966,7 @@ void particle_system_update(struct Depsgraph *depsgraph,
       psys_orig->flag = (psys->flag & ~PSYS_SHARED_CACHES);
       psys_orig->cfra = psys->cfra;
       psys_orig->recalc = psys->recalc;
+      psys_orig->part->totpart = part->totpart;
     }
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to