1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-31 17:53:32 +00:00

Folders - Improved how conditions on folder children are handled

Timeline - Fixed exception when main segment length is 0 on repeat play mode
Profile editor - Only repeat non-selected elements if their timeline is configured that way
Per LED brushes - Fixed opacity not being applied
Intro profile - Updated for timelines
This commit is contained in:
Robert 2020-10-29 20:31:07 +01:00
parent 458fd2a704
commit 383b8f7b8d
6 changed files with 381 additions and 198 deletions

View File

@ -52,16 +52,15 @@ namespace Artemis.Core
_expandedPropertyGroups = new List<string>(); _expandedPropertyGroups = new List<string>();
Load(); Load();
UpdateChildrenTimelineLength();
} }
/// <summary> /// <summary>
/// Gets a boolean indicating whether this folder is at the root of the profile tree /// Gets a boolean indicating whether this folder is at the root of the profile tree
/// </summary> /// </summary>
public bool IsRootFolder => Parent == Profile; public bool IsRootFolder => Parent == Profile;
/// <summary> /// <summary>
/// Gets the longest timeline of all this folders children /// Gets the longest timeline of all this folders children
/// </summary> /// </summary>
public Timeline LongestChildTimeline { get; private set; } public Timeline LongestChildTimeline { get; private set; }
@ -112,7 +111,6 @@ namespace Artemis.Core
throw new ObjectDisposedException("Folder"); throw new ObjectDisposedException("Folder");
base.AddChild(child, order); base.AddChild(child, order);
UpdateChildrenTimelineLength();
CalculateRenderProperties(); CalculateRenderProperties();
} }
@ -123,7 +121,6 @@ namespace Artemis.Core
throw new ObjectDisposedException("Folder"); throw new ObjectDisposedException("Folder");
base.RemoveChild(child); base.RemoveChild(child);
UpdateChildrenTimelineLength();
CalculateRenderProperties(); CalculateRenderProperties();
} }
@ -151,23 +148,6 @@ namespace Artemis.Core
OnRenderPropertiesUpdated(); OnRenderPropertiesUpdated();
} }
private void UpdateChildrenTimelineLength()
{
Timeline longest = new Timeline() {MainSegmentLength = TimeSpan.Zero};
foreach (ProfileElement profileElement in Children)
{
if (profileElement is Folder folder && folder.LongestChildTimeline.Length > longest.Length)
longest = folder.LongestChildTimeline;
else if (profileElement is Layer layer &&
layer.Timeline.PlayMode == TimelinePlayMode.Once &&
layer.Timeline.StopMode == TimelineStopMode.Finish &&
layer.Timeline.Length > longest.Length)
longest = layer.Timeline;
}
LongestChildTimeline = longest;
}
protected override void Dispose(bool disposing) protected override void Dispose(bool disposing)
{ {
Disposed = true; Disposed = true;
@ -231,6 +211,10 @@ namespace Artemis.Core
if (Path == null) if (Path == null)
return; return;
// No point rendering if none of the children are going to render
if (!Children.Any(c => c is RenderProfileElement renderElement && !renderElement.Timeline.IsFinished))
return;
RenderFolder(Timeline, canvas, canvasInfo); RenderFolder(Timeline, canvas, canvasInfo);
} }
@ -245,9 +229,6 @@ namespace Artemis.Core
private void RenderFolder(Timeline timeline, SKCanvas canvas, SKImageInfo canvasInfo) private void RenderFolder(Timeline timeline, SKCanvas canvas, SKImageInfo canvasInfo)
{ {
if (Timeline.IsFinished && LongestChildTimeline.IsFinished)
return;
PrepareForRender(timeline); PrepareForRender(timeline);
if (_folderBitmap == null) if (_folderBitmap == null)

View File

@ -325,11 +325,7 @@ namespace Artemis.Core
using SKPath layerPath = new SKPath(Path); using SKPath layerPath = new SKPath(Path);
using SKCanvas layerCanvas = new SKCanvas(_layerBitmap); using SKCanvas layerCanvas = new SKCanvas(_layerBitmap);
using SKPaint layerPaint = new SKPaint using SKPaint layerPaint = new SKPaint {FilterQuality = SKFilterQuality.Low};
{
FilterQuality = SKFilterQuality.Low,
Color = new SKColor(0, 0, 0, (byte) (Transform.Opacity.CurrentValue * 2.55f))
};
layerCanvas.Clear(); layerCanvas.Clear();
layerPath.Transform(SKMatrix.MakeTranslation(layerPath.Bounds.Left * -1, layerPath.Bounds.Top * -1)); layerPath.Transform(SKMatrix.MakeTranslation(layerPath.Bounds.Left * -1, layerPath.Bounds.Top * -1));
@ -348,7 +344,11 @@ namespace Artemis.Core
else if (General.ResizeMode.CurrentValue == LayerResizeMode.Clip) else if (General.ResizeMode.CurrentValue == LayerResizeMode.Clip)
ClipRender(layerCanvas, _layerBitmap.Info, layerPaint, layerPath); ClipRender(layerCanvas, _layerBitmap.Info, layerPaint, layerPath);
using SKPaint canvasPaint = new SKPaint {BlendMode = General.BlendMode.CurrentValue}; using SKPaint canvasPaint = new SKPaint
{
BlendMode = General.BlendMode.CurrentValue,
Color = new SKColor(0, 0, 0, (byte) (Transform.Opacity.CurrentValue * 2.55f))
};
foreach (BaseLayerEffect baseLayerEffect in LayerEffects.Where(e => e.Enabled)) foreach (BaseLayerEffect baseLayerEffect in LayerEffects.Where(e => e.Enabled))
baseLayerEffect.PostProcess(layerCanvas, _layerBitmap.Info, layerPath, canvasPaint); baseLayerEffect.PostProcess(layerCanvas, _layerBitmap.Info, layerPath, canvasPaint);

View File

@ -320,6 +320,9 @@ namespace Artemis.Core
} }
bool conditionMet = DisplayCondition.Evaluate(); bool conditionMet = DisplayCondition.Evaluate();
if (Parent is RenderProfileElement parent && !parent.DisplayConditionMet)
conditionMet = false;
if (!DisplayCondition.ContainsEvents) if (!DisplayCondition.ContainsEvents)
{ {
// Regular conditions reset the timeline whenever their condition is met and was not met before that // Regular conditions reset the timeline whenever their condition is met and was not met before that

View File

@ -293,7 +293,14 @@ namespace Artemis.Core
Position += delta; Position += delta;
if (stickToMainSegment && Position >= MainSegmentStartPosition) if (stickToMainSegment && Position >= MainSegmentStartPosition)
Position = MainSegmentStartPosition + TimeSpan.FromMilliseconds(Position.TotalMilliseconds % MainSegmentLength.TotalMilliseconds); {
// If the main segment has no length, simply stick to the start of the segment
if (MainSegmentLength == TimeSpan.Zero)
Position = MainSegmentStartPosition;
// Ensure wrapping back around retains the delta time
else
Position = MainSegmentStartPosition + TimeSpan.FromMilliseconds(Position.TotalMilliseconds % MainSegmentLength.TotalMilliseconds);
}
foreach (Timeline extraTimeline in _extraTimelines) foreach (Timeline extraTimeline in _extraTimelines)
extraTimeline.Update(delta, false); extraTimeline.Update(delta, false);

View File

@ -1,47 +1,55 @@
{ {
"$type": "Artemis.Storage.Entities.Profile.ProfileEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.ProfileEntity, Artemis.Storage",
"Id": "eb4f487b-475b-408f-a84f-733412d41b44", "Id": "824a235d-da46-4c82-a16b-13efe347f492",
"PluginGuid": "0de2991a-d7b8-4f61-ae4e-6623849215b5", "PluginGuid": "0de2991a-d7b8-4f61-ae4e-6623849215b5",
"Name": "Intro animation", "Name": "Intro animation - Imported",
"IsActive": true, "IsActive": true,
"Folders": { "Folders": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.FolderEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.FolderEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.FolderEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.FolderEntity, Artemis.Storage",
"Id": "cc21b67c-3485-4dc6-b2af-105fda42a915", "Id": "cc21b67c-3485-4dc6-b2af-105fda42a915",
"ParentId": "eb4f487b-475b-408f-a84f-733412d41b44", "ParentId": "824a235d-da46-4c82-a16b-13efe347f492",
"Order": 1, "Order": 1,
"Name": "Root folder", "Name": "Root folder",
"Enabled": true, "Enabled": true,
"Profile": null, "Profile": null,
"ProfileId": "eb4f487b-475b-408f-a84f-733412d41b44", "ProfileId": "824a235d-da46-4c82-a16b-13efe347f492",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:05",
"EndSegmentLength": "00:00:00",
"DisplayContinuously": true,
"AlwaysFinishTimeline": false,
"LayerEffects": { "LayerEffects": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"PropertyEntities": { "PropertyEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"ExpandedPropertyGroups": { "ExpandedPropertyGroups": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [] "$values": []
},
"DisplayCondition": {
"$type": "Artemis.Storage.Entities.Profile.Conditions.DataModelConditionGroupEntity, Artemis.Storage",
"BooleanOperator": 0,
"Children": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.Abstract.DataModelConditionPartEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
}
},
"Timeline": {
"$type": "Artemis.Storage.Entities.Profile.TimelineEntity, Artemis.Storage",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:05",
"EndSegmentLength": "00:00:00",
"PlayMode": 0,
"StopMode": 0,
"EventOverlapMode": 0
} }
} }
] ]
}, },
"Layers": { "Layers": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage",
@ -51,25 +59,17 @@
"Name": "Noise", "Name": "Noise",
"Enabled": true, "Enabled": true,
"Leds": { "Leds": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"Profile": null, "Profile": null,
"ProfileId": "eb4f487b-475b-408f-a84f-733412d41b44", "ProfileId": "824a235d-da46-4c82-a16b-13efe347f492",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:05",
"EndSegmentLength": "00:00:00",
"DisplayContinuously": false,
"AlwaysFinishTimeline": false,
"LayerEffects": { "LayerEffects": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"PropertyEntities": { "PropertyEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
@ -78,8 +78,11 @@
"Value": "1", "Value": "1",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -90,8 +93,11 @@
"Value": "1", "Value": "1",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -102,8 +108,11 @@
"Value": "3", "Value": "3",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -114,8 +123,11 @@
"Value": "{\"BrushPluginGuid\":\"61cbbf01-8d69-4ede-a972-f3f269da66d9\",\"BrushType\":\"NoiseBrush\"}", "Value": "{\"BrushPluginGuid\":\"61cbbf01-8d69-4ede-a972-f3f269da66d9\",\"BrushType\":\"NoiseBrush\"}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -126,8 +138,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -138,8 +153,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -150,8 +168,7 @@
"Value": "{\"IsEmpty\":false,\"Width\":500.0,\"Height\":500.0}", "Value": "{\"IsEmpty\":false,\"Width\":500.0,\"Height\":500.0}",
"KeyframesEnabled": true, "KeyframesEnabled": true,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage",
@ -168,6 +185,10 @@
"EasingFunction": 0 "EasingFunction": 0
} }
] ]
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
} }
}, },
{ {
@ -177,8 +198,11 @@
"Value": "-45.0", "Value": "-45.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -189,9 +213,15 @@
"Value": "100.0", "Value": "100.0",
"KeyframesEnabled": true, "KeyframesEnabled": true,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{
"$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage",
"Position": "00:00:03.2500000",
"Timeline": 0,
"Value": "100.0",
"EasingFunction": 0
},
{ {
"$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage",
"Position": "00:00:04", "Position": "00:00:04",
@ -207,6 +237,10 @@
"EasingFunction": 0 "EasingFunction": 0
} }
] ]
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
} }
}, },
{ {
@ -216,8 +250,11 @@
"Value": "1", "Value": "1",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -228,8 +265,11 @@
"Value": "\"#ff009688\"", "Value": "\"#ff009688\"",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -240,8 +280,11 @@
"Value": "\"#ff00ffe7\"", "Value": "\"#ff00ffe7\"",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -249,12 +292,14 @@
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
"PluginGuid": "61cbbf01-8d69-4ede-a972-f3f269da66d9", "PluginGuid": "61cbbf01-8d69-4ede-a972-f3f269da66d9",
"Path": "LayerBrush.GradientColor", "Path": "LayerBrush.GradientColor",
"Value": "Value": "{\"Stops\":[{\"Color\":\"#ff0b4a40\",\"Position\":0.0},{\"Color\":\"#ff00897c\",\"Position\":0.242},{\"Color\":\"#ffffffff\",\"Position\":1.0},{\"Color\":\"#ff00ffe6\",\"Position\":0.67391306}]}",
"{\"Stops\":[{\"Color\":\"#ff0b4a40\",\"Position\":0.0},{\"Color\":\"#ff00897c\",\"Position\":0.242},{\"Color\":\"#ffffffff\",\"Position\":1.0},{\"Color\":\"#ff00ffe6\",\"Position\":0.67391306}],\"Rotation\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -265,8 +310,11 @@
"Value": "{\"IsEmpty\":false,\"Width\":44.9,\"Height\":31.0}", "Value": "{\"IsEmpty\":false,\"Width\":44.9,\"Height\":31.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -277,8 +325,11 @@
"Value": "228.5", "Value": "228.5",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -289,8 +340,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -301,8 +355,11 @@
"Value": "25.0", "Value": "25.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
} }
@ -311,8 +368,25 @@
"ExpandedPropertyGroups": { "ExpandedPropertyGroups": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [ "$values": [
"LayerBrush" "Transform"
] ]
},
"DisplayCondition": {
"$type": "Artemis.Storage.Entities.Profile.Conditions.DataModelConditionGroupEntity, Artemis.Storage",
"BooleanOperator": 0,
"Children": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.Abstract.DataModelConditionPartEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
}
},
"Timeline": {
"$type": "Artemis.Storage.Entities.Profile.TimelineEntity, Artemis.Storage",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:05",
"EndSegmentLength": "00:00:00",
"PlayMode": 0,
"StopMode": 0,
"EventOverlapMode": 0
} }
}, },
{ {
@ -323,25 +397,17 @@
"Name": "Exploison", "Name": "Exploison",
"Enabled": true, "Enabled": true,
"Leds": { "Leds": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"Profile": null, "Profile": null,
"ProfileId": "eb4f487b-475b-408f-a84f-733412d41b44", "ProfileId": "824a235d-da46-4c82-a16b-13efe347f492",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:03",
"EndSegmentLength": "00:00:00",
"DisplayContinuously": false,
"AlwaysFinishTimeline": false,
"LayerEffects": { "LayerEffects": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"PropertyEntities": { "PropertyEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
@ -350,8 +416,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -362,8 +431,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -374,8 +446,11 @@
"Value": "3", "Value": "3",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -386,8 +461,11 @@
"Value": "{\"BrushPluginGuid\":\"92a9d6ba-6f7a-4937-94d5-c1d715b4141a\",\"BrushType\":\"ColorBrush\"}", "Value": "{\"BrushPluginGuid\":\"92a9d6ba-6f7a-4937-94d5-c1d715b4141a\",\"BrushType\":\"ColorBrush\"}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -398,8 +476,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -410,8 +491,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -422,8 +506,7 @@
"Value": "{\"IsEmpty\":false,\"Width\":110.03,\"Height\":340.37}", "Value": "{\"IsEmpty\":false,\"Width\":110.03,\"Height\":340.37}",
"KeyframesEnabled": true, "KeyframesEnabled": true,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage",
@ -440,6 +523,10 @@
"EasingFunction": 0 "EasingFunction": 0
} }
] ]
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
} }
}, },
{ {
@ -449,8 +536,11 @@
"Value": "0.0", "Value": "0.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -461,8 +551,11 @@
"Value": "100.0", "Value": "100.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -473,8 +566,11 @@
"Value": "2", "Value": "2",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -485,8 +581,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -497,8 +596,11 @@
"Value": "\"#ffff0000\"", "Value": "\"#ffff0000\"",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -506,12 +608,14 @@
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
"PluginGuid": "92a9d6ba-6f7a-4937-94d5-c1d715b4141a", "PluginGuid": "92a9d6ba-6f7a-4937-94d5-c1d715b4141a",
"Path": "LayerBrush.Colors", "Path": "LayerBrush.Colors",
"Value": "Value": "{\"Stops\":[{\"Color\":\"#00ff0000\",\"Position\":0.0},{\"Color\":\"#ffff8800\",\"Position\":0.492},{\"Color\":\"#ffedff00\",\"Position\":0.905},{\"Color\":\"#00ff0000\",\"Position\":1.0}]}",
"{\"Stops\":[{\"Color\":\"#00ff0000\",\"Position\":0.0},{\"Color\":\"#ffff8800\",\"Position\":0.492},{\"Color\":\"#ffedff00\",\"Position\":0.905},{\"Color\":\"#00ff0000\",\"Position\":1.0}],\"Rotation\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -522,8 +626,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -534,8 +641,11 @@
"Value": "0.0", "Value": "0.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -546,8 +656,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -558,8 +671,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
} }
@ -568,35 +684,44 @@
"ExpandedPropertyGroups": { "ExpandedPropertyGroups": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [] "$values": []
},
"DisplayCondition": {
"$type": "Artemis.Storage.Entities.Profile.Conditions.DataModelConditionGroupEntity, Artemis.Storage",
"BooleanOperator": 0,
"Children": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.Abstract.DataModelConditionPartEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
}
},
"Timeline": {
"$type": "Artemis.Storage.Entities.Profile.TimelineEntity, Artemis.Storage",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:02.8500000",
"EndSegmentLength": "00:00:00",
"PlayMode": 1,
"StopMode": 0,
"EventOverlapMode": 0
} }
}, },
{ {
"$type": "Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.LayerEntity, Artemis.Storage",
"Id": "f046f56f-a236-4ed6-bbd9-b5a4731878cf", "Id": "f046f56f-a236-4ed6-bbd9-b5a4731878cf",
"ParentId": "cc21b67c-3485-4dc6-b2af-105fda42a915", "ParentId": "cc21b67c-3485-4dc6-b2af-105fda42a915",
"Order": 2, "Order": 3,
"Name": "Background", "Name": "Background",
"Enabled": true, "Enabled": true,
"Leds": { "Leds": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LedEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"Profile": null, "Profile": null,
"ProfileId": "eb4f487b-475b-408f-a84f-733412d41b44", "ProfileId": "824a235d-da46-4c82-a16b-13efe347f492",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:03",
"EndSegmentLength": "00:00:00",
"DisplayContinuously": false,
"AlwaysFinishTimeline": false,
"LayerEffects": { "LayerEffects": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.LayerEffectEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
}, },
"PropertyEntities": { "PropertyEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [ "$values": [
{ {
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
@ -605,8 +730,11 @@
"Value": "1", "Value": "1",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -617,8 +745,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -629,8 +760,11 @@
"Value": "3", "Value": "3",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -641,8 +775,11 @@
"Value": "{\"BrushPluginGuid\":\"92a9d6ba-6f7a-4937-94d5-c1d715b4141a\",\"BrushType\":\"ColorBrush\"}", "Value": "{\"BrushPluginGuid\":\"92a9d6ba-6f7a-4937-94d5-c1d715b4141a\",\"BrushType\":\"ColorBrush\"}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -653,8 +790,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -665,8 +805,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -677,8 +820,11 @@
"Value": "{\"IsEmpty\":false,\"Width\":100.0,\"Height\":100.0}", "Value": "{\"IsEmpty\":false,\"Width\":100.0,\"Height\":100.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -689,8 +835,11 @@
"Value": "0.0", "Value": "0.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -701,8 +850,11 @@
"Value": "100.0", "Value": "100.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -713,8 +865,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -725,8 +880,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -737,8 +895,11 @@
"Value": "\"#ff000000\"", "Value": "\"#ff000000\"",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -746,12 +907,14 @@
"$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage", "$type": "Artemis.Storage.Entities.Profile.PropertyEntity, Artemis.Storage",
"PluginGuid": "92a9d6ba-6f7a-4937-94d5-c1d715b4141a", "PluginGuid": "92a9d6ba-6f7a-4937-94d5-c1d715b4141a",
"Path": "LayerBrush.Colors", "Path": "LayerBrush.Colors",
"Value": "Value": "{\"Stops\":[{\"Color\":\"#ffff0000\",\"Position\":0.0},{\"Color\":\"#ffff8800\",\"Position\":0.125},{\"Color\":\"#ffedff00\",\"Position\":0.25},{\"Color\":\"#ff65ff00\",\"Position\":0.375},{\"Color\":\"#ff00ff22\",\"Position\":0.5},{\"Color\":\"#ff00ffaa\",\"Position\":0.625},{\"Color\":\"#ff00cbff\",\"Position\":0.75},{\"Color\":\"#ff0043ff\",\"Position\":0.875},{\"Color\":\"#ffff0000\",\"Position\":1.0}]}",
"{\"Stops\":[{\"Color\":\"#ffff0000\",\"Position\":0.0},{\"Color\":\"#ffff8800\",\"Position\":0.125},{\"Color\":\"#ffedff00\",\"Position\":0.25},{\"Color\":\"#ff65ff00\",\"Position\":0.375},{\"Color\":\"#ff00ff22\",\"Position\":0.5},{\"Color\":\"#ff00ffaa\",\"Position\":0.625},{\"Color\":\"#ff00cbff\",\"Position\":0.75},{\"Color\":\"#ff0043ff\",\"Position\":0.875},{\"Color\":\"#ffff0000\",\"Position\":1.0}],\"Rotation\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -762,8 +925,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -774,8 +940,11 @@
"Value": "0.0", "Value": "0.0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -786,8 +955,11 @@
"Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}", "Value": "{\"IsEmpty\":true,\"Length\":0.0,\"LengthSquared\":0.0,\"X\":0.0,\"Y\":0.0}",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
}, },
@ -798,8 +970,11 @@
"Value": "0", "Value": "0",
"KeyframesEnabled": false, "KeyframesEnabled": false,
"KeyframeEntities": { "KeyframeEntities": {
"$type": "$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib",
"System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.KeyframeEntity, Artemis.Storage]], System.Private.CoreLib", "$values": []
},
"DataBindingEntities": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.DataBindings.DataBindingEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": [] "$values": []
} }
} }
@ -810,6 +985,23 @@
"$values": [ "$values": [
"LayerBrush" "LayerBrush"
] ]
},
"DisplayCondition": {
"$type": "Artemis.Storage.Entities.Profile.Conditions.DataModelConditionGroupEntity, Artemis.Storage",
"BooleanOperator": 0,
"Children": {
"$type": "System.Collections.Generic.List`1[[Artemis.Storage.Entities.Profile.Abstract.DataModelConditionPartEntity, Artemis.Storage]], System.Private.CoreLib",
"$values": []
}
},
"Timeline": {
"$type": "Artemis.Storage.Entities.Profile.TimelineEntity, Artemis.Storage",
"StartSegmentLength": "00:00:00",
"MainSegmentLength": "00:00:05",
"EndSegmentLength": "00:00:00",
"PlayMode": 0,
"StopMode": 0,
"EventOverlapMode": 0
} }
} }
] ]

View File

@ -150,9 +150,9 @@ namespace Artemis.UI.Shared.Services
// Stick to the main segment for any element that is not currently selected // Stick to the main segment for any element that is not currently selected
foreach (Folder folder in SelectedProfile.GetAllFolders()) foreach (Folder folder in SelectedProfile.GetAllFolders())
folder.Timeline.Override(CurrentTime, folder != SelectedProfileElement); folder.Timeline.Override(CurrentTime, folder != SelectedProfileElement && folder.Timeline.PlayMode == TimelinePlayMode.Repeat);
foreach (Layer layer in SelectedProfile.GetAllLayers()) foreach (Layer layer in SelectedProfile.GetAllLayers())
layer.Timeline.Override(CurrentTime, layer != SelectedProfileElement); layer.Timeline.Override(CurrentTime, layer != SelectedProfileElement && layer.Timeline.PlayMode == TimelinePlayMode.Repeat);
_coreService.FrameRendered += CoreServiceOnFrameRendered; _coreService.FrameRendered += CoreServiceOnFrameRendered;
} }