Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-27 08:03:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-27 08:03:03 +0400
commit6f6be7c936d979033f96d3eb975884d580532453 (patch)
treeaea037a30d60cbda666ed297abd9e8dfe3553f2e /source/blender/modifiers/intern/MOD_laplaciandeform.c
parentbe8f628b893d3a34b6e8024123e439c5e6d9d75e (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.c2
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);