1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-31 09:43:46 +00:00

Core - Fixed plugins not loading, oops

This commit is contained in:
SpoinkyNL 2020-06-20 18:39:56 +02:00
parent 5162111782
commit d47f347beb
2 changed files with 3 additions and 3 deletions

View File

@ -77,8 +77,8 @@ namespace Artemis.Core.Services
ApplyLoggingLevel(); ApplyLoggingLevel();
// Initialize the services // Initialize the services
// _pluginService.CopyBuiltInPlugins(); _pluginService.CopyBuiltInPlugins();
// _pluginService.LoadPlugins(); _pluginService.LoadPlugins();
var surfaceConfig = _surfaceService.ActiveSurface; var surfaceConfig = _surfaceService.ActiveSurface;
if (surfaceConfig != null) if (surfaceConfig != null)

View File

@ -55,7 +55,7 @@ namespace Artemis.UI.Screens.Settings.Debug
{ {
Execute.PostToUIThread(() => Execute.PostToUIThread(() =>
{ {
if (e.BitmapBrush.Bitmap == null) if (e.BitmapBrush?.Bitmap == null)
return; return;
if (!(CurrentFrame is WriteableBitmap writeableBitmap)) if (!(CurrentFrame is WriteableBitmap writeableBitmap))