diff options
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/meshlaplacian.c | 6 | ||||
-rw-r--r-- | source/blender/editors/armature/reeb.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/armature/meshlaplacian.c b/source/blender/editors/armature/meshlaplacian.c index d2dd0e474c0..956cbe25c3b 100644 --- a/source/blender/editors/armature/meshlaplacian.c +++ b/source/blender/editors/armature/meshlaplacian.c @@ -64,7 +64,7 @@ static void error(const char *str) { printf("error: %s\n", str); } /************************** Laplacian System *****************************/ struct LaplacianSystem { - NLContext context; /* opennl context */ + NLContext *context; /* opennl context */ int totvert, totface; @@ -341,7 +341,7 @@ int laplacian_system_solve(LaplacianSystem *sys) //nlPrintMatrix(); - return nlSolveAdvanced(NULL, NL_TRUE); + return nlSolve(NL_TRUE); } float laplacian_system_get_solution(int v) @@ -1438,7 +1438,7 @@ static void meshdeform_matrix_solve(MeshDeformModifierData *mmd, MeshDeformBind nlEnd(NL_MATRIX); nlEnd(NL_SYSTEM); - if (nlSolveAdvanced(NULL, NL_TRUE)) { + if (nlSolve(NL_TRUE)) { for (z = 0; z < mdb->size; z++) for (y = 0; y < mdb->size; y++) for (x = 0; x < mdb->size; x++) diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c index f29d15ff416..e10ae4bcf3f 100644 --- a/source/blender/editors/armature/reeb.c +++ b/source/blender/editors/armature/reeb.c @@ -2628,7 +2628,7 @@ int weightToHarmonic(EditMesh *em, EdgeIndex *indexed_edges) nlEnd(NL_SYSTEM); - success = nlSolveAdvanced(NULL, NL_TRUE); + success = nlSolve(NL_TRUE); if (success) { rval = 1; |