diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-27 08:03:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-27 08:03:03 +0400 |
commit | 6f6be7c936d979033f96d3eb975884d580532453 (patch) | |
tree | aea037a30d60cbda666ed297abd9e8dfe3553f2e /source/blender/modifiers/intern/MOD_laplaciandeform.c | |
parent | be8f628b893d3a34b6e8024123e439c5e6d9d75e (diff) |
Fix T38859: Laplacian Deform Crash
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciandeform.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciandeform.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |