[Bf-blender-cvs] [821a6e75bc1] fluid-mantaflow: manual sanity clean up for preconditioner
Sebastián Barschkis
noreply at git.blender.org
Tue Mar 14 01:13:32 CET 2017
Commit: 821a6e75bc1089a5a32b46c479bcab9004860ed5
Author: Sebastián Barschkis
Date: Tue Mar 14 01:13:04 2017 +0100
Branches: fluid-mantaflow
https://developer.blender.org/rB821a6e75bc1089a5a32b46c479bcab9004860ed5
manual sanity clean up for preconditioner
necessary when changing grid size. internal grid has to be freed and reallocated to match new grid size
===================================================================
M intern/mantaflow/intern/strings/smoke_script.h
===================================================================
diff --git a/intern/mantaflow/intern/strings/smoke_script.h b/intern/mantaflow/intern/strings/smoke_script.h
index 04d222299e2..e7f32830e6b 100644
--- a/intern/mantaflow/intern/strings/smoke_script.h
+++ b/intern/mantaflow/intern/strings/smoke_script.h
@@ -328,6 +328,7 @@ def step_low():\n\
\n\
mantaMsg('Pressure')\n\
solvePressure(flags=flags, vel=vel, pressure=pressure, preconditioner=$PRECONDITIONER$)\n\
+ releaseMG() # manual clean up\n\
\n\
def process_burn_low():\n\
mantaMsg('Process burn low')\n\
More information about the Bf-blender-cvs
mailing list