Fix T57288: Assert when deleting duplicated collection (id->us == 0).
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 23 Oct 2018 09:59:53 +0000 (11:59 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 23 Oct 2018 10:00:46 +0000 (12:00 +0200)
commitf927f388f6608cb802b489907ef0c280607d900c
treeb922f7c47467373c1127a235a92d9b8e04492a5b
parent6d1fd1dc58120cd3cd4193cc50958095af198627
Fix T57288: Assert when deleting duplicated collection (id->us == 0).

Copying an ID also add a default user to new one (just like creating an
ID), by default...
source/blender/blenkernel/intern/collection.c