diff --git a/libsrc/include/nginterface_v2_impl.hpp b/libsrc/include/nginterface_v2_impl.hpp index 22815720..d31fb55d 100644 --- a/libsrc/include/nginterface_v2_impl.hpp +++ b/libsrc/include/nginterface_v2_impl.hpp @@ -53,6 +53,10 @@ NGX_INLINE DLL_HEADER Ng_Element Ngx_Mesh :: GetElement<0> (size_t nr) const ret.faces.num = 0; ret.faces.ptr = NULL; + + ret.facets.num = 1; + ret.facets.base = 1; + ret.facets.ptr = (int*)&el.pnum; return ret; }