Profiles - Removed the technical concept of extra timelines for events

Profiles - Properly separated out update and render logic
Profile editor - Implemented layer visualization
This commit is contained in:
Robert committed 2022-02-04 00:18:00 +01:00
1 parent ff4ec16690
commit 89beb92935
18 files changed
+431 -292

No files matched your search

@@ -146,10 +146,11 @@ namespace Artemis.UI.Shared.Services
else
{
renderElement.Enable();
renderElement.Timeline.Override(
renderElement.OverrideTimelineAndApply(
CurrentTime,
(renderElement != SelectedProfileElement || renderElement.Timeline.Length < CurrentTime) && renderElement.Timeline.PlayMode == TimelinePlayMode.Repeat
);
renderElement.Update(0);
foreach (ProfileElement child in renderElement.Children)
TickProfileElement(child);