diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 6b70ea0f6..3e71dd4bc 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1,2 @@ -github: [spoinkynl] \ No newline at end of file +github: [robertbeekman] +custom: ['https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=VQBAEJYUFLU4J'] \ No newline at end of file diff --git a/src/Artemis.Core/Plugins/Modules/DataModel.cs b/src/Artemis.Core/Plugins/Modules/DataModel.cs index 4587c996a..507584c24 100644 --- a/src/Artemis.Core/Plugins/Modules/DataModel.cs +++ b/src/Artemis.Core/Plugins/Modules/DataModel.cs @@ -261,7 +261,12 @@ namespace Artemis.Core.Modules internal T? GetDynamicChildValue(string key) { if (TryGetDynamicChild(key, out DynamicChild? dynamicChild) && dynamicChild.BaseValue != null) - return (T) dynamicChild.BaseValue; + { + if (dynamicChild.BaseValue is T value) + return value; + return default; + } + return default; } diff --git a/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/LayerPropertiesView.xaml b/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/LayerPropertiesView.xaml index f5ee47881..12344aec7 100644 --- a/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/LayerPropertiesView.xaml +++ b/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/LayerPropertiesView.xaml @@ -462,7 +462,7 @@ The profile is currently running in normal mode and the timeline cannot be edited. - Press to switch between editor mode and normal mode. Auto-switching can be disabled in the options menu. + Press to switch between editor mode and normal mode. Auto-switching can be disabled in the run menu.