From cd025b2069df4cafa5ee4a8f6353a5fd71212808 Mon Sep 17 00:00:00 2001 From: mimo Date: Sun, 8 Nov 2015 13:09:49 +0000 Subject: [PATCH] fix typo This was SVN commit r17203. --- source/simulation2/helpers/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/simulation2/helpers/Render.cpp b/source/simulation2/helpers/Render.cpp index 9fedea5fa5..0f2cd4213e 100644 --- a/source/simulation2/helpers/Render.cpp +++ b/source/simulation2/helpers/Render.cpp @@ -90,7 +90,7 @@ static void ConstructCircleOrClosedArc( // Adapt the circle resolution to look reasonable for small and largeish radiuses size_t numPoints = clamp((size_t)(radius*(end-start)), (size_t)12, (size_t)48); - if (isCircle) + if (!isCircle) overlay.m_Coords.reserve((numPoints + 1 + 2) * 3); else overlay.m_Coords.reserve((numPoints + 1) * 3);