[815ca2310fb] master: Fix part of T68666: Animated mesh UVs, vertex colors don’t update on time change

Sergey Sharybin noreply at git.blender.org
Thu Sep 19 15:56:18 CEST 2019


Commit: 815ca2310fb4a1cb27befdef04842f2bf6a9ea51
Author: Sergey Sharybin
Date:   Thu Sep 19 15:46:50 2019 +0200
Branches: master
https://developer.blender.org/rB815ca2310fb4a1cb27befdef04842f2bf6a9ea51

Fix part of T68666: Animated mesh UVs, vertex colors don’t update on time change

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder_rna.cc
M	source/blender/makesrna/RNA_access.h

===================================================================

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
index e53ac40f196..3620c82d4b3 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
@@ -280,7 +280,9 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr,
   else if (RNA_struct_is_a(ptr->type, &RNA_Mesh) || RNA_struct_is_a(ptr->type, &RNA_Modifier) ||
            RNA_struct_is_a(ptr->type, &RNA_GpencilModifier) ||
            RNA_struct_is_a(ptr->type, &RNA_Spline) || RNA_struct_is_a(ptr->type, &RNA_TextBox) ||
-           RNA_struct_is_a(ptr->type, &RNA_GPencilLayer)) {
+           RNA_struct_is_a(ptr->type, &RNA_GPencilLayer) ||
+           RNA_struct_is_a(ptr->type, &RNA_MeshUVLoop) ||
+           RNA_struct_is_a(ptr->type, &RNA_MeshLoopColorLayer)) {
     /* When modifier is used as FROM operation this is likely referencing to
      * the property (for example, modifier's influence).
      * But when it's used as TO operation, this is geometry component. */
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index f9f05348c5c..61c8eec7a72 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -412,6 +412,7 @@ extern StructRNA RNA_MeshTextureFace;
 extern StructRNA RNA_MeshTextureFaceLayer;
 extern StructRNA RNA_MeshTexturePoly;
 extern StructRNA RNA_MeshTexturePolyLayer;
+extern StructRNA RNA_MeshUVLoop;
 extern StructRNA RNA_MeshVertex;
 extern StructRNA RNA_MessageSensor;
 extern StructRNA RNA_MetaBall;



More information about the Bf-blender-cvs mailing list