diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-28 17:58:04 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-28 18:53:34 +0300 |
commit | 793135e190c7450d30451617e9b8ae2d5ecec94a (patch) | |
tree | b164ce4130357bb33aaf4cf4c86f235ab772ff4f /source/blender/blenkernel/BKE_pbvh.h | |
parent | bc2ce31d794096d0785b469752451cc035688dcc (diff) |
Fix wrong coordinates being read when using the sculpt API
The coordinates should be read from the PBVH when using deform modifiers.
This is needed for the cloth brush to work with subdivisions, as it reads the
vertex coordinates using this function when building and updating the
constraints.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D6967
Diffstat (limited to 'source/blender/blenkernel/BKE_pbvh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_pbvh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h index a26148d11bf..3971b248a2e 100644 --- a/source/blender/blenkernel/BKE_pbvh.h +++ b/source/blender/blenkernel/BKE_pbvh.h @@ -470,6 +470,8 @@ void BKE_pbvh_parallel_range(const int start, PBVHParallelRangeFunc func, const struct PBVHParallelSettings *settings); +struct MVert *BKE_pbvh_get_verts(const PBVH *bvh); + #ifdef __cplusplus } #endif |