From 365ff6698700fb23c8bd9d0509c49df71180431e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 May 2014 14:00:11 +1000 Subject: GSet, GHash: Add BLI_gset_add, since its common to add members to a set also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same. --- source/blender/editors/animation/anim_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/animation/anim_filter.c') diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 9fec1d28a29..dad25eb04af 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -2595,7 +2595,7 @@ static size_t animdata_filter_remove_duplis(ListBase *anim_data) * - just use ale->data for now, though it would be nicer to involve * ale->type in combination too to capture corner cases (where same data performs differently) */ - if (BLI_gset_reinsert(gs, ale->data, NULL)) { + if (BLI_gset_add(gs, ale->data)) { /* this entry is 'unique' and can be kept */ items++; } -- cgit v1.2.3