diff options
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 85071e8cd19..58565fecf4d 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -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) |