From ff480316c3f09751087fa6c560adc3fa5a93ab0a Mon Sep 17 00:00:00 2001 From: Achim Stremplat Date: Fri, 11 Mar 2022 10:34:29 +0100 Subject: [PATCH] Release v0.13.0 - pre-release fixes. --- CHANGELOG.md | 8 ++++++++ gui/libRamsesWidgets/src/RamsesPreviewWindow.cpp | 3 +++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97dc2a35..bb2d0f42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,12 @@ If a copy of the MPL was not distributed with this file, You can obtain one at h ## [0.13.0] Compressed project files, cubemap extensions, log view * **File version number has changed. Files saved with RaCo 0.13.0 cannot be opened by previous versions.** +### Known Issues +* RaCoHeadless will crash when trying to load a scene using external references from scenes which cannot be found. + * The crash will be preceded by an error message like this "External reference update failed: Can't load external project '...' with path '....rca'" + * If the same scene is opened in the Ramses Composer, the same error message will be displayed in a message box. + * When this occurs, the best way forward is to restore the file in the stated location. + ### Added * Added custom CubeMap mipmap support. * Added optional automatic zipping of project files. @@ -50,6 +56,8 @@ If a copy of the MPL was not distributed with this file, You can obtain one at h * Improved support for High DPI screens. * Fixed losing the property values of PrefabInstance interface scripts when pasting PrefabInstances. +### Regressions discovered and fixed after pre-release +* Don't reset preview background color to black if the preview is resized or moved. ## [0.12.0] Bug Fixes and Usability Improvements * **File version number has changed. Files saved with RaCo 0.12.0 cannot be opened by previous versions.** diff --git a/gui/libRamsesWidgets/src/RamsesPreviewWindow.cpp b/gui/libRamsesWidgets/src/RamsesPreviewWindow.cpp index 5d5ef43f..fe50b6b4 100644 --- a/gui/libRamsesWidgets/src/RamsesPreviewWindow.cpp +++ b/gui/libRamsesWidgets/src/RamsesPreviewWindow.cpp @@ -164,9 +164,12 @@ void RamsesPreviewWindow::commit() { const ramses::dataConsumerId_t dataConsumerId = framebufferScene_->setupFramebufferTexture(rendererBackend_, next_.targetSize, next_.filteringMode); current_.filteringMode = next_.filteringMode; offscreenBufferId_ = rendererBackend_.renderer().createOffscreenBuffer(displayId_, next_.targetSize.width(), next_.targetSize.height()); + rendererBackend_.renderer().setDisplayBufferClearColor(displayId_, offscreenBufferId_, next_.backgroundColor.redF(), next_.backgroundColor.greenF(), +next_.backgroundColor.blueF(), next_.backgroundColor.alphaF()); rendererBackend_.renderer().flush(); rendererBackend_.eventHandler().waitForOffscreenBufferCreation(offscreenBufferId_); current_.targetSize = next_.targetSize; + current_.backgroundColor = next_.backgroundColor; if (next_.sceneId.isValid()) { sceneControlAPI.setSceneDisplayBufferAssignment(next_.sceneId, offscreenBufferId_);