Germano Cavalcante
0de3d4e8c7
Fix T90847: snap to face of Add Primitive tool not working in edit mode
...
BVHTree was being created but not balanced.
Error introduced in {rBfcc844f8fbd0}.
2021-08-22 23:48:54 -03:00
Campbell Barton
5bbbc98471
Cleanup: spelling in comments
2021-07-07 13:42:46 +10:00
Campbell Barton
9b89de2571
Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX
...
Also use doxy style function reference `#` prefix chars when
referencing identifiers.
2021-07-04 00:43:40 +10:00
Hans Goudey
5f8969bb4b
Cleanup: Use const mesh to ensure BVH and triangulation cache
...
As noted in a comment now, these functions only update a cache, so they
don't change the logical state of the mesh, which is "it will have the
data when necessary." Using a const argument will help const correctness
when accessing an object's evaluated mesh.
2021-07-02 11:37:01 -05:00
Campbell Barton
addb1a5c9a
Cleanup: spelling in comments
2021-07-02 12:15:29 +10:00
Hans Goudey
0ff1c38fcc
Cleanup: Move bvhutils.c to C++
...
This will be useful when adding a utility to create a BVH tree from a
`CurveEval` for the attribute proximity and attribute transfer nodes.
2021-07-01 16:46:55 -05:00