From 7283cbef6594aa35ea17ebc124b95db1c35dd3f2 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 13 Sep 2024 23:28:29 -0400 Subject: [PATCH] Cleanup: Sculpt: Add todo comments for PBVH data to remove --- source/blender/blenkernel/BKE_pbvh_api.hh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/blender/blenkernel/BKE_pbvh_api.hh b/source/blender/blenkernel/BKE_pbvh_api.hh index 9d2b1739c52..94f60ffa1e8 100644 --- a/source/blender/blenkernel/BKE_pbvh_api.hh +++ b/source/blender/blenkernel/BKE_pbvh_api.hh @@ -83,14 +83,20 @@ class Node { * marking various updates that need to be applied. */ PBVHNodeFlags flag_ = PBVH_UpdateRedraw; - /* Used for ray-casting: how close the bounding-box is to the ray point. */ + /** + * Used for ray-casting: how close the bounding-box is to the ray point. + * \todo Remove and store elsewhere. + */ float tmin_ = 0.0f; - /* Used to flash colors of updated node bounding boxes in + /** + * Used to flash colors of updated node bounding boxes in * debug draw mode (when G.debug_value / bpy.app.debug_value is 889). + * \todo Remove and store elsewhere. */ int debug_draw_gen_ = 0; + /** \todo Move storage of image painting data to #Tree or elsewhere. */ pixels::NodeData *pixels_ = nullptr; }; @@ -220,6 +226,7 @@ class Tree { */ BitVector<> visibility_dirty_; + /** \todo Remove and store elsewhere. */ float planes_[6][4]; int num_planes_;