Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 9f55d21e authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #823 in VECTO/vecto-sim from...

Merge pull request #823 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-1250-error-creating-new-gearbox-file-from-scratch to ReleaseCandidates/v3.3.6.1898

* commit 'd62839da':
  fix bug in creating new gearbox file for AT-S from scratch. GUI tries to use vehicle category in order to decide whether TC is used in 1st or 1st and 2nd gear. use 'not truck' as default
parents 7fb76516 d62839da
No related branches found
No related tags found
No related merge requests found
......@@ -104,12 +104,8 @@ namespace TUGraz.VectoCommon.Models
case VehicleCategory.RigidTruck:
case VehicleCategory.Tractor:
return true;
case VehicleCategory.CityBus:
case VehicleCategory.InterurbanBus:
case VehicleCategory.Coach:
return false;
default:
throw new ArgumentOutOfRangeException("VehicleCategory", category, null);
return false;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment