From 7ea1aa0745f7aaf6bdda093f58bdbb7cd64e7f34 Mon Sep 17 00:00:00 2001 From: Karaulov Date: Mon, 21 Nov 2022 19:30:29 +0300 Subject: [PATCH] Fix tanform mode ? --- src/editor/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/Renderer.cpp b/src/editor/Renderer.cpp index 53f0189f..a3b2a48c 100644 --- a/src/editor/Renderer.cpp +++ b/src/editor/Renderer.cpp @@ -1614,7 +1614,7 @@ void Renderer::pickObject() { transformTarget = TRANSFORM_OBJECT; } - isTransformableSolid = pickInfo.modelIdx > 0 && pickInfo.entIdx > 0; + isTransformableSolid = pickInfo.modelIdx > 0 || pickInfo.entIdx > 0; if ((pickMode == PICK_OBJECT || !anyCtrlPressed)) {