Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-03-17 14:47:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-04-01 02:27:08 +0300
commiteba09b1520c06df304bc353e93d7220b4e83b755 (patch)
tree27f1e1e397a78b3f2f11a986599ee82d7bbcb89d /source/blender/editors/screen/glutil.c
parent97b9afda3719627b9e52d1862ffd3b0b3ef12518 (diff)
Blender 2.8: Hook of layer collections evaluation in DEG
This moves selectability/visibility flag flush from some hardcoded places in the code to depsgraph. This way it is possible to simply tag depsgraph to update those flags and rest it'll do on its own. Using depsgraph for such flush is an overkill: those flags are fully static and can not be animated, so it doesn't really make sense to hook only those to depsgraph. However, in the future we will have overrides on collections, which ideally would need to be animatable and drivable and easiest way to support this is to do this on depsgraph level, so it ensures proper order of evaluation for animation and drivers. And it seems logical to do both overrides and flags flush from depsgraph from this point of view. This commit also includes the evaluation of IDProperty for collections, which basically are just another form of override. So once we implement the other kind of overrides the flushing and collection evaluation won't change. Patch by Sergey Sharybin and Dalai Felinto
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
0 files changed, 0 insertions, 0 deletions