Fix compilation error with MSVC

Caused by previous DNA change.
This commit is contained in:
Sergey Sharybin 2022-04-13 15:19:16 +02:00
parent fb84408aa5
commit e22fd7247a
Notes: blender-bot 2023-02-14 06:00:45 +01:00
Referenced by commit 6da5ee8368, Fix: compilation error with MSVC
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ void BKE_mesh_to_curve_nurblist(const Mesh *me, ListBase *nurblist, const int ed
VertLink *vl;
/* create new 'nurb' within the curve */
nu = MEM_cnew<Nurb>("MeshNurb");
nu = MEM_new<Nurb>("MeshNurb", blender::dna::shallow_zero_initialize());
nu->pntsu = totpoly;
nu->pntsv = 1;