[Bf-blender-cvs] [e22fd7247ad] master: Fix compilation error with MSVC
Sergey Sharybin
noreply at git.blender.org
Wed Apr 13 15:20:03 CEST 2022
Commit: e22fd7247adc4ce6de5eb7b4275b91116177109a
Author: Sergey Sharybin
Date: Wed Apr 13 15:19:16 2022 +0200
Branches: master
https://developer.blender.org/rBe22fd7247adc4ce6de5eb7b4275b91116177109a
Fix compilation error with MSVC
Caused by previous DNA change.
===================================================================
M source/blender/blenkernel/intern/mesh_convert.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/mesh_convert.cc b/source/blender/blenkernel/intern/mesh_convert.cc
index bce7021bbb9..defca433968 100644
--- a/source/blender/blenkernel/intern/mesh_convert.cc
+++ b/source/blender/blenkernel/intern/mesh_convert.cc
@@ -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;
More information about the Bf-blender-cvs
mailing list