You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* else if (freightAnim is FreightAnimationDiscrete)
248
-
{
249
-
Animations.Add(new FreightAnimationDiscrete(freightAnim as FreightAnimationDiscrete, this));
250
-
if ((Animations.Last() as FreightAnimationDiscrete).LoadedAtStart && wagon.Simulator.Initialize && (Animations.Last() as FreightAnimationDiscrete).Container != null)
251
-
{
252
-
if (empty)
253
-
{
254
-
empty = false;
255
-
FreightType = wagon.IntakePointList.Last().Type;
256
-
var last = Animations.Last() as FreightAnimationDiscrete;
257
-
FreightWeight += last.Container.MassKG;
258
-
last.Loaded = true;
259
-
}
260
-
else
261
-
{
262
-
(Animations.Last() as FreightAnimationDiscrete).LoadedAtStart = false;
263
-
Trace.TraceWarning("The wagon can't be full with two different materials, only first is retained");
264
-
}
265
-
}
266
-
}*/
267
246
}
268
247
FreightWeight=copyFACollection.FreightWeight;
269
248
FreightType=copyFACollection.FreightType;
@@ -586,9 +565,6 @@ public void UpdateEmptyFreightAnims(float containerLengthM)
586
565
// emptyAnim might be 40ft ; if complex, delete Empty animation
0 commit comments