# HG changeset patch # User Santeri Piippo # Date 1404688411 -10800 # Node ID 5c751af82f35a223f9cc9714d362ac54d09041de # Parent 3cd913bf0c4873b31e1d55c22f5aedd22d9786ef - fixed: ring finder's solutions' scale values would drop to 0.0 if it would not choose to upscale radii diff -r 3cd913bf0c48 -r 5c751af82f35 src/misc/ringFinder.cc --- 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 +}