Page MenuHome
Paste P1110

T68666 vgroups and vcol fix
ActivePublic

Authored by Philipp Oeser (lichtwerk) on Sep 19 2019, 4:48 PM.
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
index 3620c82d4b3..e6938a8d303 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
@@ -282,7 +282,8 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr,
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_MeshUVLoop) ||
- RNA_struct_is_a(ptr->type, &RNA_MeshLoopColorLayer)) {
+ RNA_struct_is_a(ptr->type, &RNA_MeshLoopColor) ||
+ RNA_struct_is_a(ptr->type, &RNA_VertexGroupElement)) {
/* 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 61c8eec7a72..cefc5aded7c 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -392,6 +392,7 @@ extern StructRNA RNA_Mesh;
extern StructRNA RNA_MeshCacheModifier;
extern StructRNA RNA_MeshColor;
extern StructRNA RNA_MeshColorLayer;
+extern StructRNA RNA_MeshLoopColor;
extern StructRNA RNA_MeshDeformModifier;
extern StructRNA RNA_MeshEdge;
extern StructRNA RNA_MeshFloatProperty;

Event Timeline

Philipp Oeser (lichtwerk) changed the title of this paste from T68666 vgroups to T68666 vgroups and vcol fix.Sep 19 2019, 5:01 PM
Philipp Oeser (lichtwerk) edited the content of this paste. (Show Details)