[Bf-blender-cvs] [dca4605] soc-2014-fluid: releasing python after sim step

Roman Pogribnyi noreply at git.blender.org
Mon Aug 18 14:54:36 CEST 2014


Commit: dca46055ee983b0b09c1cb349d47f732fb9e2dc9
Author: Roman Pogribnyi
Date:   Mon Aug 18 14:53:03 2014 +0200
Branches: soc-2014-fluid
https://developer.blender.org/rBdca46055ee983b0b09c1cb349d47f732fb9e2dc9

releasing python after sim step

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

M	intern/smoke/intern/MANTA.cpp

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

diff --git a/intern/smoke/intern/MANTA.cpp b/intern/smoke/intern/MANTA.cpp
index b950531..c23e216 100644
--- a/intern/smoke/intern/MANTA.cpp
+++ b/intern/smoke/intern/MANTA.cpp
@@ -330,6 +330,7 @@ void run_manta_scene(Scene *s, SmokeModifierData *smd)
 		cout<< "done"<<manta_sim_running<<endl;
 		//		frame_num ++;
 	}
+	PyGILState_Release(gilstate);
 	//returning simulation state to "not simulating" aka -1
 //	smd->domain->manta_sim_frame = -1;
 //




More information about the Bf-blender-cvs mailing list