summaryrefslogtreecommitdiffstats
path: root/core/global_constants.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-11 18:31:22 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-11 18:34:49 -0300
commit9ddc13a5ccdfdb67950bb198a6e56868f64e8852 (patch)
tree7d23b1ed2a1d1c554c409255e825972ef0abd9bb /core/global_constants.cpp
parent3b2c96139b39ddcfbadcd21b61e5c1ff608ad95e (diff)
downloadredot-engine-9ddc13a5ccdfdb67950bb198a6e56868f64e8852.tar.gz
-All variables from script are visible through get_property_list(), not just those with export()
-Added PROPERTY_USAGE_SCRIPT_VARIABLE to identify what comes from script -closes #5146
Diffstat (limited to 'core/global_constants.cpp')
-rw-r--r--core/global_constants.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/global_constants.cpp b/core/global_constants.cpp
index 63764383ff..2594be63ac 100644
--- a/core/global_constants.cpp
+++ b/core/global_constants.cpp
@@ -489,6 +489,7 @@ static _GlobalConstant _global_constants[]={
BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_STORE_IF_NONONE ),
BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_NO_INSTANCE_STATE ),
BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_RESTART_IF_CHANGED ),
+ BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_SCRIPT_VARIABLE ),
BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_DEFAULT ),
BIND_GLOBAL_CONSTANT( PROPERTY_USAGE_DEFAULT_INTL ),