use new assignment for polymesh trimesh conversion fixes #35
This commit is contained in:
@@ -104,10 +104,9 @@ public:
|
|||||||
template<class OtherTraits>
|
template<class OtherTraits>
|
||||||
PolyMesh_ArrayKernelT( const TriMesh_ArrayKernelT<OtherTraits> & t)
|
PolyMesh_ArrayKernelT( const TriMesh_ArrayKernelT<OtherTraits> & t)
|
||||||
{
|
{
|
||||||
//assign the connectivity (add vertices)
|
//assign the connectivity and standard properties
|
||||||
this->assign(t);
|
this->assign(t, true);
|
||||||
//copy properties from triMesh
|
|
||||||
this->copy_all_kernel_properties(t);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -104,10 +104,8 @@ public:
|
|||||||
template<class OtherTraits>
|
template<class OtherTraits>
|
||||||
TriMesh_ArrayKernelT( const PolyMesh_ArrayKernelT<OtherTraits> & t)
|
TriMesh_ArrayKernelT( const PolyMesh_ArrayKernelT<OtherTraits> & t)
|
||||||
{
|
{
|
||||||
//assign the connectivity (add vertices)
|
//assign the connectivity and standard properties
|
||||||
this->assign(t);
|
this->assign(t,true);
|
||||||
//copy properties from polyMesh
|
|
||||||
this->copy_all_kernel_properties(t);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user