Commit: 76a3ff70d599a54203888dd7131b0d48da0107d6 Author: Hans Goudey Date: Tue Jul 20 09:37:40 2021 -0400 Branches: master https://developer.blender.org/rB76a3ff70d599a54203888dd7131b0d48da0107d6
Fix T89979: Assert in edit mode with curve to mesh node The node tagged polys normals dirty, but the function to calculate the normals didn't clear the dirty flags for polys. Now clear the poly and corner dirty normal flags. =================================================================== M source/blender/blenkernel/intern/mesh.c =================================================================== diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index b463d903303..8d74002ad79 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -1874,6 +1874,8 @@ void BKE_mesh_calc_normals_split_ex(Mesh *mesh, MLoopNorSpaceArray *r_lnors_spac } mesh->runtime.cd_dirty_vert &= ~CD_MASK_NORMAL; + mesh->runtime.cd_dirty_poly &= ~CD_MASK_NORMAL; + mesh->runtime.cd_dirty_loop &= ~CD_MASK_NORMAL; } void BKE_mesh_calc_normals_split(Mesh *mesh) _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
