Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-20 | Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option) | mano-wii | |
The BVHTree was erroneously marked as not cached. | |||
2019-08-26 | Cleanup: use BLI_assert | Campbell Barton | |
2019-08-26 | Fix assert restricting allowed operation | mano-wii | |
2019-08-24 | BKE_bvhutils: implement hiden check | mano-wii | |
Accidentally unused in rB7c3bbe93aaa2 | |||
2019-08-24 | Fix BKE_bvhtree_from_editmesh_get not setting cached value | Campbell Barton | |
The stored value was always false because of shadowing. Also disable unused code. | |||
2019-08-24 | BKE bvhutils: create and use new `BKE_bvhtree_from_editmesh_get` | mano-wii | |
With this function it is easier to create and have control over editmeshes `BHVtree`s. | |||
2019-08-22 | Cleanup/Refactor: Simplify/deduplicate bvhutils code | mano-wii | |
This is a step that allow using `bvh_cache` for `EditMeshe`s. | |||
2019-08-06 | Fix T68320: measure tool memoryleak | mano-wii | |
It was a stupid mistake with the wrong pointer being referenced. It was a serious problem because the memory leak was considerable. | |||
2019-05-29 | Fix T65027: Snap 3D cursor on hidden faces doesn't work in Edit Mode. | mano-wii | |
I'm not very fond of adding new types of bvhtrees. But this is probably the most efficient solution. | |||
2019-04-27 | Cleanup: comments (long lines) in blenkernel | Campbell Barton | |
2019-04-22 | Cleanup: style, use braces for blenkernel | Campbell Barton | |
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell Barton | |
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat | |||
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell Barton | |
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits. | |||
2019-01-26 | Cleanup: blank lines over doxy headers | Campbell Barton | |
2019-01-22 | Fix potential invalid memory access in surface force field BVH tree. | Andrew Williams | |
Free the BVH tree immediately along with the mesh, otherwise we might access invalid mesh data. Differential Revision: https://developer.blender.org/D4201 | |||
2018-12-19 | BLI_bitmap: add functions operating on the whole bitmask. | Alexander Gavrilov | |
There is no point having operations that iterate over the whole bit array as macros, so convert BLI_BITMAP_SET_ALL to a function. Also, add more utilities for copying and manipulating masks. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4101 | |||
2018-12-12 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-12-12 | Cleanup: use colon separator after parameter | Campbell Barton | |
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere. | |||
2018-10-15 | Cleanup: remove unused functions | Campbell Barton | |
2018-10-15 | Cleanup: remove DerivedMesh bvhtree_from_mesh_get | Campbell Barton | |
2018-09-02 | Cleanup: comment blocks | Campbell Barton | |
2018-09-02 | Cleanup: comment blocks | Campbell Barton | |
2018-07-23 | transform_snap_object: Better bvhtree creation management for editing ↵ | Germano | |
multiple objects. - Use the object referenced in `BMEditMesh` as the `ghash` key to save the bvhtrees in cache; - Create a boundbox around edit_mesh to test the snap before creating bvhtree; - Save the `edit_mesh`s bvhtree in the mesh bvh_cache; This is a part of the D3504. | |||
2018-06-27 | Cleanup: style | Campbell Barton | |
2018-06-17 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-06-17 | Cleanup: trailing space for blenkernel | Campbell Barton | |
2018-06-05 | Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.h | Sybren A. Stüvel | |
2018-05-16 | Cleanup: BKE_bvhuitls: Use a struct rather than re-create each member of it. | Germano | |
2018-05-13 | BKE_bvhutils: allow caching NULL bvh_trees. | Germano | |
This prevents zero-leafs bvhtrees from being recalculated multiple times. | |||
2018-05-12 | Remove unused function: `BKE_bvhtree_from_mesh_looptri`. | Germano | |
2018-05-11 | Cleanup: whitespace, duplicate includes | Campbell Barton | |
2018-05-10 | Fix error building | Campbell Barton | |
2018-05-10 | Cleanup: Remove redundant parameter. | Germano | |
2018-05-10 | Cleanup: warnings | Campbell Barton | |
2018-05-10 | BKE: bvhutils: Added support for bvhtrees from loose verts and bvhtree from ↵ | Germano | |
loose edges | |||
2018-05-09 | Fix (unreported) bug in BVHTree 'free tessfaces' flag setting. | Bastien Montagne | |
Same issue as in DM-based on, so follow up of rBf3efa9e15f58... | |||
2018-05-09 | Merge branch 'master' into blender2.8 | Bastien Montagne | |
2018-05-09 | Fix (unreported) bug in BVHTree 'free tessfaces' flag setting. | Bastien Montagne | |
Could lead to atempt to free NULL pointer, and/or memory leak. | |||
2018-05-09 | BKE: bvhutils: Always return NULL when the BVHtree has no leafs. | Germano | |
BLI_bvhkdop functions were not made to work with zero-leaf trees. Perhaps a better solution would be to modify BLI_bvhkdop to work with zero leaf trees. But this solution of returning NULL was already used for bvhtrees of looptris. | |||
2018-05-09 | BKE: bvhutils: Port bvhtree_from_mesh_get to take a Mesh param instead of a ↵ | Germano | |
DerivedMesh. Differential Revision: https://developer.blender.org/D3227 | |||
2018-05-08 | Cleanup: mesh_runtime naming | Campbell Barton | |
- BKE_mesh_get_looptri_num -> BKE_mesh_runtime_looptri_len - BKE_mesh_runtime_recalc_looptri -> BKE_mesh_runtime_looptri_recalc - BKE_mesh_get_looptri_array -> BKE_mesh_runtime_looptri_ensure | |||
2018-05-08 | looptri + bvhtree support for Mesh | Sybren A. Stüvel | |
2018-05-04 | BKE: bvhuils: remove member `sphere_radius`. | Germano | |
This member currently doubles the value of `ray->radius` or is not even used. | |||
2018-05-04 | Fix erroe in previous commit. | Germano | |
2018-05-04 | BKE: bvhutils: Unifies static functions oh bvhtrees creation. | Germano | |
2018-05-04 | BKE: BVHtree: Replace all external references of `bvhtree_from_mesh_looptri` ↵ | Germano | |
with `bvhtree_from_mesh_get`. | |||
2018-05-04 | BKE: BVHtree: make `bvhtree_from_mesh_edges` a static function. | Germano | |
This will help us have more control over bvhtrees that are cached. | |||
2018-05-03 | BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`. | Germano | |
This will allow greater control of the bvhtrees that are obtained, and helps identify problems. It is also an additional step to unify the functions. |