minor changes
This commit is contained in:
parent
db3d3510b9
commit
ac7b0c1bb1
|
@ -95,7 +95,7 @@ public:
|
||||||
static void GLDrawSeams(MeshType &mesh,
|
static void GLDrawSeams(MeshType &mesh,
|
||||||
float size=3,
|
float size=3,
|
||||||
bool UV=false,
|
bool UV=false,
|
||||||
int numCuts=200)
|
int numCuts=400)
|
||||||
{
|
{
|
||||||
bool hasSeam = vcg::tri::HasPerFaceAttribute(mesh,std::string("Seams"));
|
bool hasSeam = vcg::tri::HasPerFaceAttribute(mesh,std::string("Seams"));
|
||||||
if(!hasSeam)return;
|
if(!hasSeam)return;
|
||||||
|
@ -131,7 +131,8 @@ public:
|
||||||
int index=Handle_SeamIndex[i][j];
|
int index=Handle_SeamIndex[i][j];
|
||||||
//assert(index>0);
|
//assert(index>0);
|
||||||
if (index>=0)
|
if (index>=0)
|
||||||
seamCol[j]=vcg::Color4b::Scatter(numCuts,index);
|
seamCol[j]=vcg::Color4b(255,0,0,255);
|
||||||
|
//seamCol[j]=vcg::Color4b::Scatter(numCuts,index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue