do not allow picking in captured mode, closes #5134

This commit is contained in:
Juan Linietsky 2016-06-11 17:44:52 -03:00
parent db1e9bac79
commit b75fb6674b
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ void Viewport::_notification(int p_what) {
if (physics_object_picking) {
if (physics_object_picking && (render_target || Input::get_singleton()->get_mouse_mode()!=Input::MOUSE_MODE_CAPTURED)) {
Vector2 last_pos(1e20,1e20);
CollisionObject *last_object;