blender/source/blender/depsgraph
Philipp Oeser dfdf79fb03 Fix T84250: Eevee world/material parameter animation not updating the viewport
The WORLD_UPDATE operation (needed to free the gpu material) was already
defined in DepsgraphNodeBuilder::build_world, but corresponding relation
was only set up for changes in the nodetree, not for changes in the
world/material itself in DepsgraphRelationBuilder::build_world.
Direct changes to these surface properties in the UI were updating
properly through RNA property update callbacks, but these are not called
from the animation system.

So now add these relations in the depsgraph.

Not 100% sure this is the right place for this (since e.g. eevee engine
seems to handle e.g. animated light paramters just fine through
EEVEE_cache_populate / eevee_light_setup, but properly freeing gpu
materials wont happen for worlds in e.g eevee_id_world_update and also
not for materials)

Maniphest Tasks: T84250

Differential Revision: https://developer.blender.org/D9959
2021-01-18 13:51:28 +01:00
..
intern Fix T84250: Eevee world/material parameter animation not updating the viewport 2021-01-18 13:51:28 +01:00
CMakeLists.txt Geometry Nodes: initial scattering and geometry nodes 2020-12-02 15:38:47 +01:00
DEG_depsgraph_build.h Cleanup: remove redundant struct declarations 2020-12-16 16:25:56 +11:00
DEG_depsgraph_debug.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
DEG_depsgraph_physics.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
DEG_depsgraph_query.h Geometry Nodes: support geometry components in depsgraph object iterator 2020-12-02 15:38:47 +01:00
DEG_depsgraph.h Depsgraph: refactor tagging after time changes 2020-08-20 16:29:34 +02:00