Commit 874cef14 authored by Martin Schultz's avatar Martin Schultz

use new assignment for polymesh trimesh conversion fixes #35

parent b3b992d2
Pipeline #4099 passed with stage
in 41 minutes and 44 seconds
......@@ -104,10 +104,9 @@ public:
template<class OtherTraits>
PolyMesh_ArrayKernelT( const TriMesh_ArrayKernelT<OtherTraits> & t)
{
//assign the connectivity (add vertices)
this->assign(t);
//copy properties from triMesh
this->copy_all_kernel_properties(t);
//assign the connectivity and standard properties
this->assign(t, true);
}
};
......
......@@ -104,10 +104,8 @@ public:
template<class OtherTraits>
TriMesh_ArrayKernelT( const PolyMesh_ArrayKernelT<OtherTraits> & t)
{
//assign the connectivity (add vertices)
this->assign(t);
//copy properties from polyMesh
this->copy_all_kernel_properties(t);
//assign the connectivity and standard properties
this->assign(t,true);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment