Blender Git Loki

Git Commits -> Revision dfdf79f

Revision dfdf79f by Philipp Oeser (master)
January 18, 2021, 12:51 (GMT)
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

Commit Details:

Full Hash: dfdf79fb03a8eec6e6cd2a098405ae13b00a05ae
Parent Commit: 9f2271d
Lines Changed: +12, -2

1 Modified Path:

/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+12, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021