From 0c5eb8845165999eb8fb78d02979ba4b836e688e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Dec 2014 02:15:42 +0100 Subject: [PATCH] Quiet warning (harmless) --- source/blender/bmesh/tools/bmesh_triangulate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/bmesh/tools/bmesh_triangulate.c b/source/blender/bmesh/tools/bmesh_triangulate.c index 94104a2601a..b76054f270f 100644 --- a/source/blender/bmesh/tools/bmesh_triangulate.c +++ b/source/blender/bmesh/tools/bmesh_triangulate.c @@ -95,6 +95,10 @@ void BM_mesh_triangulate( pf_heap = BLI_heap_new_ex(BLI_POLYFILL_ALLOC_NGON_RESERVE); pf_ehash = BLI_edgehash_new_ex(__func__, BLI_POLYFILL_ALLOC_NGON_RESERVE); } + else { + pf_heap = NULL; + pf_ehash = NULL; + } if (slot_facemap_out) { /* same as below but call: bm_face_triangulate_mapping() */