From dcd4b13104ba643eaf81a300fba2d6db10348451 Mon Sep 17 00:00:00 2001 From: John Beard Date: Tue, 14 May 2019 11:00:28 +0100 Subject: [PATCH] Remove workaround for fixed issue (spaces in text crash GAL) The spaces-crash-GAL issue (lp:1668455) was fixed by ef8f5db024fb2f766dcdd559be80e792b01420a0. THis removes a work-around in the arc drawing assistant. --- common/preview_items/arc_assistant.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/preview_items/arc_assistant.cpp b/common/preview_items/arc_assistant.cpp index 80257a467f..d1377028dd 100644 --- a/common/preview_items/arc_assistant.cpp +++ b/common/preview_items/arc_assistant.cpp @@ -153,12 +153,6 @@ void ARC_ASSISTANT::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const cursorStrings.push_back( DimensionLabel( wxString::FromUTF8( "θ" ), endAngleDeg, DEGREES ) ); } - // FIXME: spaces choke OpenGL lp:1668455 - for( auto& str : cursorStrings ) - { - str.erase( std::remove( str.begin(), str.end(), ' ' ), str.end() ); - } - // place the text next to cursor, on opposite side from radius DrawTextNextToCursor( aView, m_constructMan.GetLastPoint(), origin - m_constructMan.GetLastPoint(),