Keep selection from been cleared when navigating in 3d viewport

Conflicts:
	tools/editor/plugins/spatial_editor_plugin.cpp
This commit is contained in:
marynate 2014-03-31 16:27:41 +08:00
parent 35bf23859a
commit 4dbf26cba2

View file

@ -844,6 +844,11 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
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.snap=false;
_edit.mode=TRANSFORM_NONE;