[Bf-blender-cvs] [49fc90a] fluid-mantaflow: bug fix: phiinit grid was not initialized to null
Sebastián Barschkis
noreply at git.blender.org
Mon Aug 8 01:26:32 CEST 2016
Commit: 49fc90a4be1be0d941549d48c5a2046c41bd92c1
Author: Sebastián Barschkis
Date: Wed Aug 3 10:49:10 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB49fc90a4be1be0d941549d48c5a2046c41bd92c1
bug fix: phiinit grid was not initialized to null
===================================================================
M intern/mantaflow/intern/SMOKE.cpp
===================================================================
diff --git a/intern/mantaflow/intern/SMOKE.cpp b/intern/mantaflow/intern/SMOKE.cpp
index b145b14..70a8c77 100644
--- a/intern/mantaflow/intern/SMOKE.cpp
+++ b/intern/mantaflow/intern/SMOKE.cpp
@@ -114,6 +114,7 @@ SMOKE::SMOKE(int *res, SmokeModifierData *smd)
// Liquids
mPhi = NULL;
+ mPhiInit = NULL;
mPhiHigh = NULL;
mNumVertices = 0;
@@ -404,6 +405,7 @@ SMOKE::~SMOKE()
// Liquid
mPhi = NULL;
+ mPhiInit = NULL;
mPhiHigh = NULL;
// Reset flags
More information about the Bf-blender-cvs
mailing list