All: change MILS_TO_IU_SCALING_FACTOR constant to IU_PER_MILS ( and MM_TO_IU_SCALING_FACTOR to IU_PER_MM)

Also fix bug 985654.
This commit is contained in:
jean-pierre charras
2012-04-26 23:34:20 +02:00
parent 3b671e09d1
commit 758f22161a
22 changed files with 70 additions and 70 deletions
+2 -2
View File
@@ -175,8 +175,8 @@ int GERBVIEW_FRAME::ReadDCodeDefinitionFile( const wxString& D_Code_FullFileName
/* Updating gerber scale: */
double dcode_scale = MILS_PER_IU; // By uniting dCode = mil,
// internal unit = MILS_PER_IU
double dcode_scale = IU_PER_MILS; // By uniting dCode = mil,
// internal unit = IU_PER_MILS
current_Dcode = 0;
if( D_Code_FullFileName.IsEmpty() )