Profiles - Made timeline thread safe and slightly tweaked delta logic

This commit is contained in:
Robert committed 2020-10-30 20:38:36 +01:00
1 parent ad5c83e5b3
commit f179980ac4
4 files changed
+77 -46

No files matched your search

@@ -144,7 +144,7 @@ namespace Artemis.Core
throw new ObjectDisposedException("DataBinding");
// Data bindings cannot go back in time like brushes
TimeSpan deltaTime = timeline.LastDelta;
TimeSpan deltaTime = timeline.Delta;
if (deltaTime < TimeSpan.Zero)
deltaTime = TimeSpan.Zero;