[Bf-blender-cvs] [6f6be7c] master: Fix T38859: Laplacian Deform Crash

Campbell Barton noreply at git.blender.org
Thu Feb 27 05:03:51 CET 2014


Commit: 6f6be7c936d979033f96d3eb975884d580532453
Author: Campbell Barton
Date:   Thu Feb 27 15:03:03 2014 +1100
https://developer.blender.org/rB6f6be7c936d979033f96d3eb975884d580532453

Fix T38859: Laplacian Deform Crash

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

M	source/blender/modifiers/intern/MOD_laplaciandeform.c

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

diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c
index 7b5b73e..fa56698 100644
--- a/source/blender/modifiers/intern/MOD_laplaciandeform.c
+++ b/source/blender/modifiers/intern/MOD_laplaciandeform.c
@@ -537,6 +537,8 @@ static void laplacianDeformPreview(LaplacianSystem *sys, float (*vertexCos)[3])
 
 	}
 	else if (sys->has_solution) {
+		nlMakeCurrent(sys->context);
+
 		nlBegin(NL_SYSTEM);
 		nlBegin(NL_MATRIX);




More information about the Bf-blender-cvs mailing list