forked from bartvdbraak/blender
Fix typo in new ID copying code.
This commit is contained in:
parent
176ad9ecdd
commit
cb02f5250d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user