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) =