forked from bartvdbraak/blender
Freestyle: disabled debug code in ViewMapBuilder::ComputeIntersections().
This commit is contained in:
parent
ee263c2566
commit
b3e7a51ebd
@ -2112,14 +2112,14 @@ void ViewMapBuilder::ComputeIntersections(ViewMap *ioViewMap, intersection_algo
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
if (_global.debug & G_DEBUG_FREESTYLE) {
|
||||||
ViewMap::viewvertices_container& vvertices = ioViewMap->ViewVertices();
|
ViewMap::viewvertices_container& vvertices = ioViewMap->ViewVertices();
|
||||||
for (ViewMap::viewvertices_container::iterator vv = vvertices.begin(), vvend = vvertices.end();
|
for (ViewMap::viewvertices_container::iterator vv = vvertices.begin(), vvend = vvertices.end();
|
||||||
vv != vvend;
|
vv != vvend; ++vv)
|
||||||
++vv)
|
|
||||||
{
|
{
|
||||||
if ((*vv)->getNature() == Nature::T_VERTEX) {
|
if ((*vv)->getNature() == Nature::T_VERTEX) {
|
||||||
TVertex *tvertex = (TVertex *)(*vv);
|
TVertex *tvertex = (TVertex *)(*vv);
|
||||||
if (_global.debug & G_DEBUG_FREESTYLE) {
|
|
||||||
cout << "TVertex " << tvertex->getId() << " has :" << endl;
|
cout << "TVertex " << tvertex->getId() << " has :" << endl;
|
||||||
cout << "FrontEdgeA: " << tvertex->frontEdgeA().first << endl;
|
cout << "FrontEdgeA: " << tvertex->frontEdgeA().first << endl;
|
||||||
cout << "FrontEdgeB: " << tvertex->frontEdgeB().first << endl;
|
cout << "FrontEdgeB: " << tvertex->frontEdgeB().first << endl;
|
||||||
@ -2128,6 +2128,7 @@ void ViewMapBuilder::ComputeIntersections(ViewMap *ioViewMap, intersection_algo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
struct less_SVertex2D : public binary_function<SVertex *, SVertex *, bool>
|
struct less_SVertex2D : public binary_function<SVertex *, SVertex *, bool>
|
||||||
|
Loading…
Reference in New Issue
Block a user