You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Disable transform operation when navigation
This commit is contained in:
@@ -1037,8 +1037,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
|||||||
|
|
||||||
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {
|
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {
|
||||||
nav_mode = NAVIGATION_ORBIT;
|
nav_mode = NAVIGATION_ORBIT;
|
||||||
}
|
} else {
|
||||||
|
|
||||||
if (clicked) {
|
if (clicked) {
|
||||||
|
|
||||||
if (!clicked_includes_current) {
|
if (!clicked_includes_current) {
|
||||||
@@ -1292,6 +1291,8 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
|||||||
default:{}
|
default:{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
} else if (m.button_mask&2) {
|
} else if (m.button_mask&2) {
|
||||||
|
|
||||||
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {
|
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user