Depsgraph: Use dedicated function for group evaluation
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Dec 2017 13:45:15 +0000 (14:45 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Dec 2017 14:05:38 +0000 (15:05 +0100)
commit82c0a5416855b3dc762d3d03bdae637cd7f8dd83
treec08ad8e155d9b7cca8f70b95cf21671219a6b530
parentaf47ae07023f4a5b817bedca82c7b007ddefc8ba
Depsgraph: Use dedicated function for group evaluation

It is still based on generic collection evaluation, but the idea is to avoid
having view_layer pointer passed from group to it's evaluation function.

This is essential for copy-on-write, where we need to pass view_layer pointer
from a copied datablock, but that copy is not yet available at construction
time. Also, this is NOT the case where we want to expand datablock at a
construction time, just to keep our life easier.
source/blender/blenkernel/BKE_group.h
source/blender/blenkernel/intern/group.c
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.cc