[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:
Uwe
2022-10-03 15:05:50 +02:00
parent 6757d1e853
commit 21ea719805
2 changed files with 5 additions and 5 deletions

View File

@@ -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: