Added importdata in VEEdgeSplit so when we refine we copy the data (like color/quality) of an edge onto the new one
This commit is contained in:
parent
6b11cc44d9
commit
87b14b54af
|
|
@ -205,6 +205,7 @@ void VEEdgeSplit(MeshType &poly, typename MeshType::EdgeType *e, typename MeshTy
|
|||
edge::VEAppend(e,1);
|
||||
// tri::Allocator<MeshType>:: template PointerUpdater<typename MeshType::EdgePointer> pu;
|
||||
typename MeshType::EdgeIterator ei = tri::Allocator<MeshType>::AddEdges(poly, 1);
|
||||
ei->ImportData(*e);
|
||||
ei->V(0)=&v;
|
||||
ei->V(1)=v1;
|
||||
edge::VEAppend(&*ei,0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue