summaryrefslogtreecommitdiff
path: root/core/globals.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-14 21:56:22 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-14 21:57:22 -0300
commit5dde810aa58d66677afda9cc5c89c052e91348b4 (patch)
tree8d4e996125ab529260aaae9c396456ae2c66e094 /core/globals.cpp
parenta1d07fd6d6a21ca6a3366aa7c9024dc41e3d323c (diff)
no more errors related to missing GlobalConfig::Get (or so I hope)
Diffstat (limited to 'core/globals.cpp')
-rw-r--r--core/globals.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp
index a4c24a6cc8..96daf55276 100644
--- a/core/globals.cpp
+++ b/core/globals.cpp
@@ -166,8 +166,10 @@ bool GlobalConfig::_get(const StringName& p_name,Variant &r_ret) const {
_THREAD_SAFE_METHOD_
- if (!props.has(p_name))
+ if (!props.has(p_name)) {
+ print_line("WARNING: not found: "+String(p_name));
return false;
+ }
r_ret=props[p_name].variant;
return true;
@@ -922,6 +924,7 @@ GlobalConfig::GlobalConfig() {
GLOBAL_DEF("application/main_scene","");
custom_prop_info["application/main_scene"]=PropertyInfo(Variant::STRING,"application/main_scene",PROPERTY_HINT_FILE,"tscn,scn,xscn,xml,res");
GLOBAL_DEF("application/disable_stdout",false);
+ GLOBAL_DEF("application/disable_stderr",false);
GLOBAL_DEF("application/use_shared_user_dir",true);