use new assignment for polymesh trimesh conversion fixes #35
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user