Keep selection from been cleared when navigating in 3d viewport
Conflicts: tools/editor/plugins/spatial_editor_plugin.cpp
This commit is contained in:
parent
35bf23859a
commit
4dbf26cba2
1 changed files with 5 additions and 0 deletions
|
@ -844,6 +844,11 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
||||||
|
|
||||||
if (b.pressed) {
|
if (b.pressed) {
|
||||||
|
|
||||||
|
NavigationScheme nav_scheme = _get_navigation_schema("3d_editor/navigation_scheme");
|
||||||
|
if ( (nav_scheme==NAVIGATION_MAYA || nav_scheme==NAVIGATION_MODO) && b.mod.alt) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
_edit.mouse_pos=Point2(b.x,b.y);
|
_edit.mouse_pos=Point2(b.x,b.y);
|
||||||
_edit.snap=false;
|
_edit.snap=false;
|
||||||
_edit.mode=TRANSFORM_NONE;
|
_edit.mode=TRANSFORM_NONE;
|
||||||
|
|
Loading…
Reference in a new issue