diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-01 21:45:02 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-01 21:45:02 +0300 |
commit | f688e3cc3130e70e77f0bb050cd71cf1549c765c (patch) | |
tree | cb70e8529ac06af6303d8fef5bdf0d294d573a1d /source/blender/editors/sculpt_paint | |
parent | 999f6526b1bc049cdccad3c7a8e165ab342f82d9 (diff) |
Cleanup: Use const for bounding boxes where possible
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index be105a23a84..3644c3177d3 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3699,7 +3699,7 @@ static void do_tiled( SculptSession *ss = ob->sculpt; StrokeCache *cache = ss->cache; const float radius = cache->radius; - BoundBox *bb = BKE_object_boundbox_get(ob); + const BoundBox *bb = BKE_object_boundbox_get(ob); const float *bbMin = bb->vec[0]; const float *bbMax = bb->vec[6]; const float *step = sd->paint.tile_offset; |