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.
This commit is contained in:
parent
c3a400b73f
commit
76a3ff70d5
Notes:
blender-bot
2023-06-26 11:58:59 +02:00
Referenced by issue #89979, Blender crash: Curve to Mesh Geometry Node
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue