[Bf-blender-cvs] [cadcaac] fluid-mantaflow: small cleanup for smoke init function as well

Sebastián Barschkis noreply at git.blender.org
Mon May 23 23:46:02 CEST 2016


Commit: cadcaac2dc9ec8bbf46e601015d3eabd85e2756b
Author: Sebastián Barschkis
Date:   Thu May 19 21:33:35 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBcadcaac2dc9ec8bbf46e601015d3eabd85e2756b

small cleanup for smoke init function as well

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

M	intern/mantaflow/intern/SMOKE.cpp

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

diff --git a/intern/mantaflow/intern/SMOKE.cpp b/intern/mantaflow/intern/SMOKE.cpp
index bfb49f3..2ea0dcf 100644
--- a/intern/mantaflow/intern/SMOKE.cpp
+++ b/intern/mantaflow/intern/SMOKE.cpp
@@ -160,13 +160,12 @@ void SMOKE::initSetup(SmokeModifierData *smd)
 
 void SMOKE::initSetupHigh(SmokeModifierData *smd)
 {
-	std::string tmpString =
-		solver_setup_high +
-		alloc_base_grids_high +
-		uv_setup +
-		prep_domain_high +
-		wavelet_turbulence_noise +
-		smoke_step_high;
+	std::string tmpString = solver_setup_high
+		+ alloc_base_grids_high
+		+ uv_setup
+		+ prep_domain_high
+		+ wavelet_turbulence_noise
+		+ smoke_step_high;
 	std::string finalString = parseScript(tmpString, smd);
 	mCommands.clear();
 	mCommands.push_back(finalString);




More information about the Bf-blender-cvs mailing list