mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Debugger - Fixed current renderer always showing as Software
Render service - Log which renderer is used Updating - Fixed release not loading when viewing it from the desktop notification Core - Removed old unused code Data model event cycle node - Fixed crash on shutdown
This commit is contained in:
1 parent
6364ce3fc4
commit
3952a268d1
8 files changed
+23
-134
No files matched your search
@@ -63,7 +63,7 @@ public partial class PerformanceDebugViewModel : ActivatableViewModelBase
|
||||
|
||||
private void HandleActivation()
|
||||
{
|
||||
Renderer = Constants.ManagedGraphicsContext != null ? Constants.ManagedGraphicsContext.GetType().Name : "Software";
|
||||
Renderer = _renderService.GraphicsContext?.GetType().Name ?? "Software";
|
||||
_renderService.FrameRendered += RenderServiceOnFrameRendered;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public partial class RenderDebugViewModel : ActivatableViewModelBase
|
||||
|
||||
private void HandleActivation()
|
||||
{
|
||||
Renderer = Constants.ManagedGraphicsContext != null ? Constants.ManagedGraphicsContext.GetType().Name : "Software";
|
||||
Renderer = _renderService.GraphicsContext?.GetType().Name ?? "Software";
|
||||
_renderService.FrameRendered += RenderServiceOnFrameRendered;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,8 +82,8 @@ public partial class UploadStepViewModel : SubmissionViewModel
|
||||
FailureMessage = e.Message;
|
||||
Failed = true;
|
||||
|
||||
// If something went wrong halfway through, delete the entry
|
||||
if (_entryId != null)
|
||||
// If something went wrong halfway through, delete the entry if it was new
|
||||
if (State.EntryId == null && _entryId != null)
|
||||
await _workshopClient.RemoveEntry.ExecuteAsync(_entryId.Value, CancellationToken.None);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in new issue
Block a user