summaryrefslogtreecommitdiff
path: root/core/bind/core_bind.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-10 15:15:04 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-10 15:15:04 -0300
commit52e53d45137eb5bc667db6323c79baebb1651b5b (patch)
treeab5420d690b459550ed9c712397c59c4bff617e8 /core/bind/core_bind.cpp
parent4fdab4f555f3f7e1d3b070244d88ce18c3282a15 (diff)
-Added a new mode, WRITE_READ to File, to recover compatibility with old projects but also achieve desired functionality. Closes #3272
Diffstat (limited to 'core/bind/core_bind.cpp')
-rw-r--r--core/bind/core_bind.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index f1edc3d7d7..fba3e7ca09 100644
--- a/core/bind/core_bind.cpp
+++ b/core/bind/core_bind.cpp
@@ -1509,6 +1509,7 @@ void _File::_bind_methods() {
BIND_CONSTANT( READ );
BIND_CONSTANT( WRITE );
BIND_CONSTANT( READ_WRITE );
+ BIND_CONSTANT( WRITE_READ );
}
_File::_File(){