diff -r 274a7fac44fc -r 68410477c8bb src/editmodes/circleMode.cc --- a/src/editmodes/circleMode.cc Sat Jul 26 03:43:37 2014 +0300 +++ b/src/editmodes/circleMode.cc Sun Jul 27 02:40:21 2014 +0300 @@ -71,7 +71,7 @@ void CircleMode::buildCircle() { LDObjectList objs; - const int segs = g_lores, divs = g_lores; // TODO: make customizable + const int segs = LowResolution, divs = LowResolution; // TODO: make customizable double dist0 = getCircleDrawDist (0), dist1 = getCircleDrawDist (1); LDDocumentPtr refFile; @@ -102,9 +102,10 @@ { // Get a ref file for this primitive. If we cannot find it in the // LDraw library, generate it. - if ((refFile = ::getDocument (radialFileName (::Ring, g_lores, g_lores, cmp.num))) == null) + if ((refFile = ::getDocument (radialFileName (::Ring, LowResolution, LowResolution, +cmp.num))) == null) { - refFile = generatePrimitive (::Ring, g_lores, g_lores, cmp.num); + refFile = generatePrimitive (::Ring, LowResolution, LowResolution, cmp.num); refFile->setImplicit (false); } @@ -186,7 +187,7 @@ QVector verts, verts2; const double dist0 = getCircleDrawDist (0), dist1 = (_drawedVerts.size() >= 2) ? getCircleDrawDist (1) : -1; - const int segs = g_lores; + const int segs = LowResolution; const double angleUnit = (2 * pi) / segs; Axis relX, relY; QVector ringpoints, circlepoints, circle2points;