1
0
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:
marynate
2014-03-31 11:59:42 +08:00
parent 5ed527d8b8
commit eb294bb6ea

View File

@@ -1037,8 +1037,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {
nav_mode = NAVIGATION_ORBIT;
}
} else {
if (clicked) {
if (!clicked_includes_current) {
@@ -1292,6 +1291,8 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
default:{}
}
}
} else if (m.button_mask&2) {
if (nav_scheme == NAVIGATION_MAYA && m.mod.alt) {