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 673e770 + 4ed5193 commit 88033eaCopy full SHA for 88033ea
scene/main/window.cpp
@@ -1215,10 +1215,10 @@ void Window::set_force_native(bool p_force_native) {
1215
if (force_native == p_force_native) {
1216
return;
1217
}
1218
- force_native = p_force_native;
1219
if (is_visible() && !is_in_edited_scene_root()) {
1220
- WARN_PRINT("Can't change \"force_native\" while a window is displayed. Consider hiding window before changing this value.");
+ ERR_FAIL_MSG("Can't change \"force_native\" while a window is displayed. Consider hiding window before changing this value.");
1221
+ force_native = p_force_native;
1222
1223
1224
bool Window::get_force_native() const {
0 commit comments