[Part] ImportStep: rename enum to fix compilation
- because the name "IN" is already defined for the Visual Studio compiler, see ed7914fba3 (r85690207)
This commit is contained in:
@@ -195,10 +195,10 @@ void ImportExportSettings::setUnit(ImportExportSettings::Unit unit)
|
||||
hStepGrp->SetInt("Unit", static_cast<long>(unit));
|
||||
|
||||
switch (unit) {
|
||||
case Unit::M:
|
||||
case Unit::Meter:
|
||||
Interface_Static::SetCVal("write.step.unit","M");
|
||||
break;
|
||||
case Unit::IN:
|
||||
case Unit::Inch:
|
||||
Interface_Static::SetCVal("write.step.unit","INCH");
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user