Fix T64763: 'Make Proxy' creates Proxy within linked Collection.
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 21 May 2019 08:31:39 +0000 (10:31 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 21 May 2019 08:31:39 +0000 (10:31 +0200)
commit52643bb9e7deaaa2da96f202894e159509ce6eb2
tree3611dbab32e56197d06b8c880fefcf5db16bc0dd
parent21d065af5d700a8353474b116fe9a54cb34b915b
Fix T64763: 'Make Proxy' creates Proxy within linked Collection.

`BKE_collection_object_add_from()` would not check wether collections
were local or not... Trivial to fix.

Note that here I assume we do not use that function in some special
cases where we would like to edit linked datablocks. Think that is
reasonable stance, though.
source/blender/blenkernel/intern/collection.c