corrected small nasty bug in the rarely used compact edge vector...
This commit is contained in:
parent
5fee62fbb1
commit
34921eb3ba
|
@ -713,7 +713,7 @@ namespace vcg {
|
|||
// the actual copying of the data.
|
||||
for(unsigned int i=0;i<m.edge.size();++i)
|
||||
{
|
||||
if(pu.remap[i]<size_t(m.vn)) // uninitialized entries in the remap vector has max_int value;
|
||||
if(pu.remap[i]<size_t(m.en)) // uninitialized entries in the remap vector has max_int value;
|
||||
{
|
||||
assert(!m.edge[i].IsD());
|
||||
m.edge[ pu.remap [i] ].ImportData(m.edge[i]);
|
||||
|
|
Loading…
Reference in New Issue