diff options
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/edgehash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/edgehash.c b/source/blender/blenlib/intern/edgehash.c index b46383cf9de..8b83fc7a313 100644 --- a/source/blender/blenlib/intern/edgehash.c +++ b/source/blender/blenlib/intern/edgehash.c @@ -357,7 +357,7 @@ bool BLI_edgehash_ensure_p(EdgeHash *eh, uint v0, uint v1, void ***r_value) } else if (index == SLOT_EMPTY) { if (edgehash_ensure_can_insert(eh)) { - edgehash_insert(eh, edge, NULL); + *r_value = &edgehash_insert(eh, edge, NULL)->value; } else { *r_value = &edgehash_insert_at_slot(eh, slot, edge, NULL)->value; |