Depsgraph: Avoid creating ID nodes for objects which are coming from collections...
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 24 Jul 2017 13:39:31 +0000 (15:39 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 24 Jul 2017 14:24:41 +0000 (16:24 +0200)
commitdeecfb54763596555353e82a97b00547310f62a9
tree77a876a092f678d7e2c4d9728f356dc216475ea8
parent7b420e19083c7069e6c0edcd0d41eb144375675a
Depsgraph: Avoid creating ID nodes for objects which are coming from collections and not layers

If object is only listed in collection but not added to any of layers we shouldn't create
placeholder for it, because otherwise we'll leave lots of placeholder ID nodes.

Question: can we make this exception to be more reliable?
source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc