Fix T93007: Cycles not updating for animated Object properties like color
This commit is contained in:
parent
9f73c9d656
commit
63aa10802b
Notes:
blender-bot
2023-02-14 02:58:19 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93 Referenced by issue #88449, Blender LTS: Maintenance Task 2.93 Referenced by issue #93434, Sculpt mode remesh broke shading Referenced by issue #93007, Cannot animate Object Info Color in Cycles with Persistent Data ticked
|
@ -207,8 +207,10 @@ static bool rna_DepsgraphUpdate_is_updated_transform_get(PointerRNA *ptr)
|
|||
|
||||
static bool rna_DepsgraphUpdate_is_updated_shading_get(PointerRNA *ptr)
|
||||
{
|
||||
/* Assume any animated parameters can affect shading, we don't have fine
|
||||
* grained enough updates to distinguish this. */
|
||||
ID *id = ptr->data;
|
||||
return ((id->recalc & ID_RECALC_SHADING) != 0);
|
||||
return ((id->recalc & (ID_RECALC_SHADING | ID_RECALC_ANIMATION)) != 0);
|
||||
}
|
||||
|
||||
static bool rna_DepsgraphUpdate_is_updated_geometry_get(PointerRNA *ptr)
|
||||
|
|
Loading…
Reference in New Issue