From f105a10e4d30c695101e95b801991914e4fd0a96 Mon Sep 17 00:00:00 2001 From: SpoinkyNL Date: Sun, 6 Sep 2020 20:18:43 +0200 Subject: [PATCH] Core - Fixed layer properties base values not applying correctly --- .../Models/Profile/LayerProperties/LayerProperty.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Artemis.Core/Models/Profile/LayerProperties/LayerProperty.cs b/src/Artemis.Core/Models/Profile/LayerProperties/LayerProperty.cs index 65a16ac6c..59a2af329 100644 --- a/src/Artemis.Core/Models/Profile/LayerProperties/LayerProperty.cs +++ b/src/Artemis.Core/Models/Profile/LayerProperties/LayerProperty.cs @@ -93,10 +93,11 @@ namespace Artemis.Core AddKeyframe(new LayerPropertyKeyframe(value, time.Value, Easings.Functions.Linear, this)); else currentKeyframe.Value = value; - - // Update the property so that the new keyframe is reflected on the current value - Update(0); } + + // Force an update so that the base value is applied to the current value and + // keyframes/data bindings are applied using the new base value + Update(0); } ///