From fbb446dff620c0719fd77692a0d401203ef1e966 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 18 Aug 2013 00:36:04 +0000 Subject: add assert for hashes if an existing element is ever inserted into a ghash/edgehash. the outliner does this intentionally, so add a flag to allow this situation optionally. --- source/blender/makesdna/DNA_space_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index c562a1fefae..85655ce09bd 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -253,7 +253,7 @@ typedef struct SpaceOops { struct TreeStoreElem search_tse; short flag, outlinevis, storeflag, search_flags; - struct GHash *treehash; + struct GHash *treehash; /* note, allows duplicates */ } SpaceOops; -- cgit v1.2.3