summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix_pipe.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-04-11 23:53:49 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-04-13 18:18:47 +0200
commitc3a4b4c5ae58403347ae9123df515f5a30c5e4f7 (patch)
tree986b701b61deb1fb71f73feb4237710763edfc42 /drivers/unix/file_access_unix_pipe.cpp
parent029aadef563fb69cf49aa9795b62f27171f8c3f4 (diff)
downloadredot-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 'drivers/unix/file_access_unix_pipe.cpp')
0 files changed, 0 insertions, 0 deletions