- various bugs fixed
This commit is contained in:
parent
01787cad96
commit
cb4f24383f
|
@ -111,6 +111,7 @@ static void WedgeTexFromVertexTex(ComputeMeshType &m)
|
|||
{
|
||||
(*fi).WT(i).U() = (*fi).V(i)->T().U();
|
||||
(*fi).WT(i).V() = (*fi).V(i)->T().V();
|
||||
(*fi).WT(i).N() = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1307,14 +1307,21 @@ namespace vcg
|
|||
}
|
||||
bool solidtoo = dt.isPrimitiveActive(PR_SOLID);
|
||||
|
||||
/*EDGE | TRI | DRAW
|
||||
---------------------------------
|
||||
TRUE TRUE EDGE
|
||||
TRUE FALSE EDGE
|
||||
FALSE TRUE TRI
|
||||
FALSE FALSE NOTHING */
|
||||
|
||||
if (dt.isPrimitiveActive(PR_WIREFRAME_EDGES))
|
||||
drawEdges(dt._intatts[size_t(PR_WIREFRAME_EDGES)], dt._glopts);
|
||||
else
|
||||
{
|
||||
if (dt.isPrimitiveActive(PR_WIREFRAME_TRIANGLES))
|
||||
{
|
||||
drawWiredTriangles(dt._intatts[size_t(PR_WIREFRAME_TRIANGLES)], dt._glopts, textid);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dt.isPrimitiveActive(PR_WIREFRAME_EDGES))
|
||||
drawEdges(dt._intatts[size_t(PR_WIREFRAME_EDGES)], dt._glopts);
|
||||
}
|
||||
|
||||
if (pointstoo || solidtoo)
|
||||
|
|
Loading…
Reference in New Issue