From 8037936acb9a0cf46671ba5f96a5b04e55fbeee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0toura=C4=8D?= <525032@mail.muni.cz> Date: Wed, 22 May 2024 00:45:16 +0200 Subject: [PATCH] fix scene objects when switching between rofiworlds --- src/edit/src/editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/edit/src/editor.cpp b/src/edit/src/editor.cpp index 37389e4..46289c3 100644 --- a/src/edit/src/editor.cpp +++ b/src/edit/src/editor.cpp @@ -244,6 +244,9 @@ void Editor::resetBuildModeIIVariables() selected_space_joints = {}; scene->manageSelection(nullptr); + scene->manageHighlight(glm::vec3(0.0f), nullptr); + scene->manageSecondarySelection({}); + scene->manageSecondaryHighlights({}); } void Editor::update() -- GitLab