Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-09 13:36:05 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-09 13:36:05 +0300
commitb586c81fbc601440ad108aa8148a4c1da09e47d4 (patch)
treee522cd611b86024736db428a4dd3ae48fffec1d3 /source/blender/blenkernel/intern/bvhutils.c
parent21298978f68db176b42fa10c79fa91e2d3b96be0 (diff)
Fix (unreported) bug in BVHTree 'free tessfaces' flag setting.
Same issue as in DM-based on, so follow up of rBf3efa9e15f58...
Diffstat (limited to 'source/blender/blenkernel/intern/bvhutils.c')
-rw-r--r--source/blender/blenkernel/intern/bvhutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/bvhutils.c b/source/blender/blenkernel/intern/bvhutils.c
index 0360ae8fe9e..54cdd646594 100644
--- a/source/blender/blenkernel/intern/bvhutils.c
+++ b/source/blender/blenkernel/intern/bvhutils.c
@@ -1388,7 +1388,7 @@ BVHTree *BKE_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;