Don't allow exponential notation in specctra export.
Fixes https://gitlab.com/kicad/code/kicad/issues/7786
This commit is contained in:
parent
bbf02a5f08
commit
c85c14e6e4
|
@ -3701,11 +3701,11 @@ void PLACE::Format( OUTPUTFORMATTER* out, int nestLevel )
|
|||
|
||||
if( hasVertex )
|
||||
{
|
||||
out->Print( 0, " %.6g %.6g", vertex.x, vertex.y );
|
||||
out->Print( 0, " %.6f %.6f", vertex.x, vertex.y );
|
||||
|
||||
out->Print( 0, " %s", GetTokenText( side ) );
|
||||
|
||||
out->Print( 0, " %.6g", rotation );
|
||||
out->Print( 0, " %.6f", rotation );
|
||||
}
|
||||
|
||||
const char* space = " "; // one space, as c string.
|
||||
|
|
Loading…
Reference in New Issue