From cb02f5250d235cebf518604eea2349b003f15317 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 9 Aug 2017 14:38:07 +0200 Subject: Fix typo in new ID copying code. --- source/blender/blenkernel/intern/library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 18e4f332dc2..8bc6465d98e 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -1115,7 +1115,7 @@ void *BKE_libblock_alloc(Main *bmain, short type, const char *name, const int fl if (id) { id->icon_id = 0; *( (short *)id->name) = type; - if ((flag & LIB_ID_FREE_NO_USER_REFCOUNT) == 0) { + if ((flag & LIB_ID_CREATE_NO_USER_REFCOUNT) == 0) { id->us = 1; } if ((flag & LIB_ID_CREATE_NO_MAIN) == 0) { -- cgit v1.2.3