Blender Git Commit Log

Git Commits -> Revision 6c59a3b

Revision 6c59a3b by Germano Cavalcante (master)
February 17, 2017, 01:55 (GMT)
Do not release the arrays used in the parameters of the expanded functions of bvhutils

The release of these arrays should be the programmer's discretion since these arrays can continue to be used.

Only the expanded functions `bvhtree_from_mesh_edges_ex` and `bvhtree_from_mesh_looptri_ex` are currently being used in blender (in mesh_remap.c), and from what I could to analyze, these changes can prevent a crash.

Commit Details:

Full Hash: 6c59a3b37aa868c74ba403a7be297174053ff48c
Parent Commit: 7819d36
Lines Changed: +142, -148

2 Modified Paths:

/source/blender/blenkernel/BKE_bvhutils.h (+6, -6) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+136, -142) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021