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/BKE_subdiv_deform.h | |
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/BKE_subdiv_deform.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv_deform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_deform.h b/source/blender/blenkernel/BKE_subdiv_deform.h index 9a97c23afa7..f1a56aa9cde 100644 --- a/source/blender/blenkernel/BKE_subdiv_deform.h +++ b/source/blender/blenkernel/BKE_subdiv_deform.h @@ -29,7 +29,9 @@ struct Mesh; struct Subdiv; -/* Special version of subdivision surface which calculates final positions for coarse vertices. */ +/* Special version of subdivision surface which calculates final positions for coarse vertices. + * + * vertex_cos are supposed to hold coordinates of the coarse mesh. */ void BKE_subdiv_deform_coarse_vertices(struct Subdiv *subdiv, const struct Mesh *coarse_mesh, float (*vertex_cos)[3], |