All: change MILS_TO_IU_SCALING_FACTOR constant to MILS_PER_IU ( and MM_TO_IU_SCALING_FACTOR to MM_PER_IU)
Also fix bug 985654.
This commit is contained in:
+2
-2
@@ -175,8 +175,8 @@ int GERBVIEW_FRAME::ReadDCodeDefinitionFile( const wxString& D_Code_FullFileName
|
||||
|
||||
|
||||
/* Updating gerber scale: */
|
||||
double dcode_scale = MILS_TO_IU_SCALING_FACTOR; // By uniting dCode = mil,
|
||||
// internal unit = MILS_TO_IU_SCALING_FACTOR
|
||||
double dcode_scale = MILS_PER_IU; // By uniting dCode = mil,
|
||||
// internal unit = MILS_PER_IU
|
||||
current_Dcode = 0;
|
||||
|
||||
if( D_Code_FullFileName.IsEmpty() )
|
||||
|
||||
Reference in New Issue
Block a user