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.
1 parent b6223c0 commit 1b6af3aCopy full SHA for 1b6af3a
editor/plugins/node_3d_editor_plugin.cpp
@@ -7847,6 +7847,9 @@ void Node3DEditor::_sun_environ_settings_pressed() {
7847
sun_environ_popup->set_position(pos - Vector2(sun_environ_popup->get_contents_minimum_size().width / 2, 0));
7848
sun_environ_popup->reset_size();
7849
sun_environ_popup->popup();
7850
+ // Grabbing the focus is required for Shift modifier checking to be functional
7851
+ // (when the Add sun/environment buttons are pressed).
7852
+ sun_environ_popup->grab_focus();
7853
}
7854
7855
void Node3DEditor::_add_sun_to_scene(bool p_already_added_environment) {
0 commit comments