diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-26 13:01:52 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-26 13:01:52 +0300 |
commit | 8a7085b9d45b5e364978672ac50cff4e7ee9e269 (patch) | |
tree | aa5171df774b117ae420ce9d3c5822577665031e /source/blender/blenkernel/intern/subdiv_deform.c | |
parent | ee4707544904aa76cfee7f7b5cc16b7e9f4a872c (diff) |
Fix T70163: Error painting with Subdivision at end of stack
Deformation of subdivision surface modifier was using wrong coordinates
for the coarse mesh: as the modifier flow goes the coordinates are to be
taken from the input array of coordinates.
Diffstat (limited to 'source/blender/blenkernel/intern/subdiv_deform.c')
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_deform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_deform.c b/source/blender/blenkernel/intern/subdiv_deform.c index 5b9335a503e..9c7949e7bdb 100644 --- a/source/blender/blenkernel/intern/subdiv_deform.c +++ b/source/blender/blenkernel/intern/subdiv_deform.c @@ -195,7 +195,7 @@ void BKE_subdiv_deform_coarse_vertices(struct Subdiv *subdiv, /* Make sure evaluator is up to date with possible new topology, and that * is is refined for the new positions of coarse vertices. */ - if (!BKE_subdiv_eval_update_from_mesh(subdiv, coarse_mesh)) { + if (!BKE_subdiv_eval_update_from_mesh(subdiv, coarse_mesh, vertex_cos)) { /* This could happen in two situations: * - OpenSubdiv is disabled. * - Something totally bad happened, and OpenSubdiv rejected our |