Geometry Nodes: tag normals dirty after join

Under some circumstances the normals were not tagged dirty
even though they are.
This commit is contained in:
Jacques Lucke 2021-08-12 17:36:37 +02:00
parent f801d40daf
commit e0fd5fef12
1 changed files with 4 additions and 0 deletions

View File

@ -491,6 +491,10 @@ static Mesh *join_mesh_topology_and_builtin_attributes(Span<GeometryInstanceGrou
}
}
/* A possible optimization is to only tag the normals dirty when there are transforms that change
* normals. */
BKE_mesh_normals_tag_dirty(new_mesh);
return new_mesh;
}