src/gldraw.cpp

changeset 507
fc76d38c3530
parent 506
525f6c48db83
child 510
ee90c55dfeef
--- a/src/gldraw.cpp	Wed Oct 16 19:34:12 2013 +0300
+++ b/src/gldraw.cpp	Wed Oct 16 23:07:59 2013 +0300
@@ -1434,7 +1434,7 @@
 			}
 			elif (g_RingFinder (dist0, dist1))
 			{	// The ring finder found a solution, use that. Add the component rings to the file.
-				for (const RingFinder::SolutionComponent& cmp : g_RingFinder.solution())
+				for (const RingFinder::Component& cmp : g_RingFinder.bestSolution()->components())
 				{	if ((refFile = getFile (radialFileName (::Ring, lores, lores, cmp.num))) == null)
 					{	refFile = generatePrimitive (::Ring, lores, lores, cmp.num);
 						refFile->setImplicit (false);

mercurial