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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to