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

This commit is contained in:
2019-09-19 15:46:50 +02:00
parent 34143e4510
commit 815ca2310f
2 changed files with 4 additions and 1 deletions

View File

@@ -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) || 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_GpencilModifier) ||
RNA_struct_is_a(ptr->type, &RNA_Spline) || RNA_struct_is_a(ptr->type, &RNA_TextBox) || 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 /* When modifier is used as FROM operation this is likely referencing to
* the property (for example, modifier's influence). * the property (for example, modifier's influence).
* But when it's used as TO operation, this is geometry component. */ * But when it's used as TO operation, this is geometry component. */

View File

@@ -412,6 +412,7 @@ extern StructRNA RNA_MeshTextureFace;
extern StructRNA RNA_MeshTextureFaceLayer; extern StructRNA RNA_MeshTextureFaceLayer;
extern StructRNA RNA_MeshTexturePoly; extern StructRNA RNA_MeshTexturePoly;
extern StructRNA RNA_MeshTexturePolyLayer; extern StructRNA RNA_MeshTexturePolyLayer;
extern StructRNA RNA_MeshUVLoop;
extern StructRNA RNA_MeshVertex; extern StructRNA RNA_MeshVertex;
extern StructRNA RNA_MessageSensor; extern StructRNA RNA_MessageSensor;
extern StructRNA RNA_MetaBall; extern StructRNA RNA_MetaBall;