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

Skip to content
Snippets Groups Projects
Commit fc71ec58 authored by Harald Martini's avatar Harald Martini
Browse files

update last shift property in gearbox update from

parent 0033a6b2
No related branches found
No related tags found
No related merge requests found
......@@ -525,6 +525,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
protected override bool DoUpdateFrom(object other) {
if (other is Gearbox g) {
PreviousState = g.PreviousState.Clone();
LastShift = g.LastShift;
return true;
}
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