From 6f6be7c936d979033f96d3eb975884d580532453 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 27 Feb 2014 15:03:03 +1100 Subject: Fix T38859: Laplacian Deform Crash --- source/blender/modifiers/intern/MOD_laplaciandeform.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c index 7b5b73e0f6d..fa56698e1dc 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); -- cgit v1.2.3