[Bf-blender-cvs] [4054724] fluid-mantaflow: fix for script smoke export
Sebastián Barschkis
noreply at git.blender.org
Mon Oct 3 19:47:47 CEST 2016
Commit: 4054724bf8541606d7890360c222838e7fae794e
Author: Sebastián Barschkis
Date: Wed Sep 14 14:51:05 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB4054724bf8541606d7890360c222838e7fae794e
fix for script smoke export
===================================================================
M intern/mantaflow/intern/FLUID.cpp
===================================================================
diff --git a/intern/mantaflow/intern/FLUID.cpp b/intern/mantaflow/intern/FLUID.cpp
index f94b970..533d940 100644
--- a/intern/mantaflow/intern/FLUID.cpp
+++ b/intern/mantaflow/intern/FLUID.cpp
@@ -711,13 +711,13 @@ void FLUID::exportSmokeScript(SmokeModifierData *smd)
// Step wrapper function
manta_script += smoke_adaptive_step;
+ // Add standalone mode (loop, gui, ...)
+ manta_script += smoke_standalone_load;
+ manta_script += fluid_standalone;
+
// Fill in missing variables in script
std::string final_script = FLUID::parseScript(manta_script, smd);
- // Add standalone mode (loop, gui, ...)
- final_script += smoke_standalone_load;
- final_script += fluid_standalone;
-
// Write script
std::ofstream myfile;
myfile.open(smd->domain->manta_filepath);
More information about the Bf-blender-cvs
mailing list