Fixed issue #267. Error in the creation of obj files.
--HG-- branch : develop
This commit is contained in:
parent
74e4761634
commit
99bb3f8962
|
@ -210,11 +210,12 @@ void VObjEngine::drawPolygon(const QPointF *points, int pointCount, PolygonDrawM
|
||||||
|
|
||||||
for (int i = 0; i < pointCount; ++i)
|
for (int i = 0; i < pointCount; ++i)
|
||||||
{
|
{
|
||||||
*stream << QString(" %1").arg(globalPointsCount - static_cast<unsigned int>(pointCount + i + 1));
|
*stream << QString(" %1").arg(globalPointsCount - static_cast<unsigned int>(pointCount) + i + 1);
|
||||||
}
|
}
|
||||||
*stream << endl;
|
*stream << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VObjEngine::drawPolygon(const QPoint *points, int pointCount, QPaintEngine::PolygonDrawMode mode)
|
void VObjEngine::drawPolygon(const QPoint *points, int pointCount, QPaintEngine::PolygonDrawMode mode)
|
||||||
{
|
{
|
||||||
QPaintEngine::drawPolygon(points, pointCount, mode);
|
QPaintEngine::drawPolygon(points, pointCount, mode);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user