diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-04-11 23:53:49 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-04-13 18:18:47 +0200 |
commit | c3a4b4c5ae58403347ae9123df515f5a30c5e4f7 (patch) | |
tree | 986b701b61deb1fb71f73feb4237710763edfc42 /modules/gdscript/gdscript_disassembler.cpp | |
parent | 029aadef563fb69cf49aa9795b62f27171f8c3f4 (diff) | |
download | redot-engine-c3a4b4c5ae58403347ae9123df515f5a30c5e4f7.tar.gz |
Don't print warning messages for DisplayServer functions in headless mode
DisplayServer methods that only have a cosmetic effect print a warning (instead
of an error). These warnings can be silenced in headless mode, as it's assumed
that the cosmetic effect is undesired in headless mode anyway (e.g. changing
mouse cursor shape).
This prevents spurious warnings from appearing when running the editor in
headless mode, e.g. on CI to export a project.
Methods that print an error will continue to do so, as their
returned value may not match expectations and have cascading consequences
on the project (e.g. clipboard data not being retrievable).
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions