[Bf-blender-cvs] [00466e756e3] master: RNA: Fixed incorrect depsgraph tagging for Object.color and pass_index
Sybren A. Stüvel
noreply at git.blender.org
Tue Apr 14 16:09:05 CEST 2020
Commit: 00466e756e335abb774fa995394e5319af013377
Author: Sybren A. Stüvel
Date: Tue Apr 14 16:08:49 2020 +0200
Branches: master
https://developer.blender.org/rB00466e756e335abb774fa995394e5319af013377
RNA: Fixed incorrect depsgraph tagging for Object.color and pass_index
These options do not influence the transform, but do (potentiall) influence
the shading.
===================================================================
M source/blender/makesrna/intern/rna_object.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 112517a92e0..cb8dffe3168 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -329,7 +329,7 @@ static void rna_Object_internal_update_draw(Main *UNUSED(bmain),
Scene *UNUSED(scene),
PointerRNA *ptr)
{
- DEG_id_tag_update(ptr->owner_id, ID_RECALC_TRANSFORM);
+ DEG_id_tag_update(ptr->owner_id, ID_RECALC_SHADING);
WM_main_add_notifier(NC_OBJECT | ND_DRAW, ptr->owner_id);
}
More information about the Bf-blender-cvs
mailing list