diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-18 04:15:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-18 04:15:42 +0300 |
commit | 0c5eb8845165999eb8fb78d02979ba4b836e688e (patch) | |
tree | 7b84c83e1d24f86f61b0fe94553dc66441d568c0 /source/blender/bmesh/tools/bmesh_triangulate.c | |
parent | 0ae4d7d4059d1f8f6d1a2adcaae988b14c628c9f (diff) |
Quiet warning (harmless)
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_triangulate.c')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_triangulate.c | 4 |
1 files changed, 4 insertions, 0 deletions
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() */ |