[Bf-blender-cvs] [ea4a00e93b5] blender-v2.90-release: Fluid: Fix warnings from max particle option

Sebastián Barschkis noreply at git.blender.org
Mon Jul 27 10:32:29 CEST 2020


Commit: ea4a00e93b515ed30feaaee16c3272cffe0f0c9d
Author: Sebastián Barschkis
Date:   Mon Jul 27 10:32:12 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rBea4a00e93b515ed30feaaee16c3272cffe0f0c9d

Fluid: Fix warnings from max particle option

-Wreorder was the issue.

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

M	extern/mantaflow/preprocessed/particle.cpp

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

diff --git a/extern/mantaflow/preprocessed/particle.cpp b/extern/mantaflow/preprocessed/particle.cpp
index 9561365af3d..8c26156358d 100644
--- a/extern/mantaflow/preprocessed/particle.cpp
+++ b/extern/mantaflow/preprocessed/particle.cpp
@@ -29,7 +29,7 @@ using namespace std;
 namespace Manta {
 
 ParticleBase::ParticleBase(FluidSolver *parent)
-    : PbClass(parent), mAllowCompress(true), mFreePdata(false), mMaxParticles(0)
+    : PbClass(parent), mMaxParticles(0), mAllowCompress(true), mFreePdata(false)
 {
 }



More information about the Bf-blender-cvs mailing list