We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 721852b + 1b6af3a commit 80b1cbbCopy full SHA for 80b1cbb
editor/plugins/node_3d_editor_plugin.cpp
@@ -7865,6 +7865,9 @@ void Node3DEditor::_sun_environ_settings_pressed() {
7865
sun_environ_popup->set_position(pos - Vector2(sun_environ_popup->get_contents_minimum_size().width / 2, 0));
7866
sun_environ_popup->reset_size();
7867
sun_environ_popup->popup();
7868
+ // Grabbing the focus is required for Shift modifier checking to be functional
7869
+ // (when the Add sun/environment buttons are pressed).
7870
+ sun_environ_popup->grab_focus();
7871
}
7872
7873
void Node3DEditor::_add_sun_to_scene(bool p_already_added_environment) {
0 commit comments