src/misc/ringFinder.cc

changeset 832
5c751af82f35
parent 813
987f35e96467
child 840
d077dd19bf9a
--- a/src/misc/ringFinder.cc	Sat Jul 05 02:20:53 2014 +0300
+++ b/src/misc/ringFinder.cc	Mon Jul 07 02:13:31 2014 +0300
@@ -141,6 +141,10 @@
 			r1 = r1f;
 		}
 	}
+	else
+	{
+		scale = 1.0;
+	}
 
 	// Recurse in and try find solutions.
 	findRingsRecursor (r0, r1, sol);
@@ -210,4 +214,4 @@
 {
 	for (Component& cmp : m_components)
 		cmp.scale *= scale;
-}
\ No newline at end of file
+}

mercurial