Fix (unreported) bug in BVHTree 'free tessfaces' flag setting.
Could lead to atempt to free NULL pointer, and/or memory leak.
This commit is contained in:
@@ -1132,7 +1132,7 @@ BVHTree *bvhtree_from_mesh_get(
|
||||
data->looptri = looptri;
|
||||
data->vert_allocated = vert_allocated;
|
||||
data->edge_allocated = edge_allocated;
|
||||
data->edge_allocated = edge_allocated;
|
||||
data->face_allocated = face_allocated;
|
||||
data->loop_allocated = loop_allocated;
|
||||
data->looptri_allocated = looptri_allocated;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user