Remove workaround for fixed issue (spaces in text crash GAL)
The spaces-crash-GAL issue (lp:1668455) was fixed by
ef8f5db024
.
THis removes a work-around in the arc drawing assistant.
This commit is contained in:
parent
6cf7ad68ad
commit
dcd4b13104
|
@ -153,12 +153,6 @@ void ARC_ASSISTANT::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const
|
||||||
cursorStrings.push_back( DimensionLabel( wxString::FromUTF8( "θ" ), endAngleDeg, DEGREES ) );
|
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
|
// place the text next to cursor, on opposite side from radius
|
||||||
DrawTextNextToCursor( aView, m_constructMan.GetLastPoint(),
|
DrawTextNextToCursor( aView, m_constructMan.GetLastPoint(),
|
||||||
origin - m_constructMan.GetLastPoint(),
|
origin - m_constructMan.GetLastPoint(),
|
||||||
|
|
Loading…
Reference in New Issue