diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-02 21:32:25 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-02 21:32:45 +0300 |
commit | 2ba2efc29691762d3fb2002f54adafd536b2c37b (patch) | |
tree | 1ea85ec85cf57a240baa3f8a4bb942f40c822ee9 /source/blender/blenlib/BLI_virtual_array.hh | |
parent | e4fd2d57543a86c4879537939ecf9c4fad68eeac (diff) |
Cleanup: Simplify arguments to sculpt draw functions
Instead of passing pointers to specific mesh data, rely on
retrieving that data from the mesh internally. This makes
it easier to support retrieving additional data from Mesh
(like active attribute names in D15101 or D15169). It also makes
the functions simpler conceptually, because they're drawing
a mesh with an acceleration strcture on top.
The BKE_id_attribute_copy_domains_temp call was unnecessary
because the GPU_pbvh_mesh_buffers_update function was only
called when Mesh/PBVH_FACES is used in the first place.
Differential Revision: https://developer.blender.org/D15197
Diffstat (limited to 'source/blender/blenlib/BLI_virtual_array.hh')
0 files changed, 0 insertions, 0 deletions