Skip to content

Commit

Permalink
Fix tanform mode ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Karaulov committed Nov 21, 2022
1 parent 2b48bab commit 7ea1aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7ea1aa0

Please sign in to comment.