From 0eede7778bdf99d1f0a0ff848088c3e961c4f437 Mon Sep 17 00:00:00 2001 From: aszabo314 Date: Tue, 29 Oct 2024 17:14:19 +0100 Subject: [PATCH] ### 5.5.4 --- RELEASE_NOTES.md | 3 +++ src/Application/Aardvark.Application.WPF.GL/RenderControl.fs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 634dc200..d47b11f3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +### 5.5.4 +- OpenGL/WPF control uses `OnPainRender` again + ### 5.5.3 - OpenGL/WPF control no longer uses `OnPainRender` by default diff --git a/src/Application/Aardvark.Application.WPF.GL/RenderControl.fs b/src/Application/Aardvark.Application.WPF.GL/RenderControl.fs index 79e7be3c..43084f22 100644 --- a/src/Application/Aardvark.Application.WPF.GL/RenderControl.fs +++ b/src/Application/Aardvark.Application.WPF.GL/RenderControl.fs @@ -27,7 +27,7 @@ type OpenGlRenderControl(runtime : Runtime, debug : IDebugConfig, samples : int) // do ctrl.AutoInvalidate <- false do this.Child <- ctrl - ctrl.OnPaintRender <- false + //ctrl.OnPaintRender <- false this.Loaded.Add(fun e -> this.Focusable <- false) //override x.OnDpiChanged(oldDpi : DpiScale, newDpi : DpiScale) =