Fix T58251: Cycles ignores linked meshes when rendering
[blender.git] / source / blender / blenkernel / intern / mesh.c
index 56832c1724a989b1943e8a9640c6c5d534e2291e..aa13950f0d553d6d51c5c70f23153ff73ff00d37 100644 (file)
@@ -522,6 +522,8 @@ void BKE_mesh_init(Mesh *me)
   CustomData_reset(&me->fdata);
   CustomData_reset(&me->pdata);
   CustomData_reset(&me->ldata);
+
+  BKE_mesh_runtime_reset(me);
 }
 
 Mesh *BKE_mesh_add(Main *bmain, const char *name)