Disable transform operation when navigation

This commit is contained in:
marynate 2014-03-31 11:59:42 +08:00
parent 5ed527d8b8
commit eb294bb6ea
1 changed files with 203 additions and 202 deletions

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) {