Added shape properties

This commit is contained in:
Robert committed 2020-02-05 23:48:36 +01:00
1 parent 2c60a42315
commit 12d5fd39a0
31 files changed
+373 -114

No files matched your search

@@ -182,7 +182,9 @@ namespace Artemis.Core.Models.Profile.LayerProperties
/// </summary>
public void ClearKeyframes()
{
BaseValue = KeyframeEngine.GetCurrentValue();
if (KeyframeEngine != null)
BaseValue = KeyframeEngine.GetCurrentValue();
BaseKeyframes.Clear();
}
@@ -265,6 +267,9 @@ namespace Artemis.Core.Models.Profile.LayerProperties
#region Events
/// <summary>
/// Occurs when this property's value was changed outside regular keyframe updates
/// </summary>
public event EventHandler<EventArgs> ValueChanged;
protected virtual void OnValueChanged()