aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_parser.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-08-25 20:45:51 -0300
committerJuan Linietsky2015-08-25 20:45:51 -0300
commit04cb3c9eb13b3824f676bc29e037802bffc3bdac (patch)
tree1eb9366601043d3f48e43a36fc172f18c32ad387 /modules/gdscript/gd_parser.cpp
parenteff2931b2ab4db9d47d822e5ef66dce941c90d98 (diff)
downloadgodot-04cb3c9eb13b3824f676bc29e037802bffc3bdac.tar.gz
godot-04cb3c9eb13b3824f676bc29e037802bffc3bdac.tar.zst
godot-04cb3c9eb13b3824f676bc29e037802bffc3bdac.zip
Ability to edit all kinds of arrays from the property editor.
Yes, I'm trying to convince you to test the alpha release by adding all these now :)
Diffstat (limited to 'modules/gdscript/gd_parser.cpp')
-rw-r--r--modules/gdscript/gd_parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/gd_parser.cpp b/modules/gdscript/gd_parser.cpp
index f7aaaf7ee..283b50f96 100644
--- a/modules/gdscript/gd_parser.cpp
+++ b/modules/gdscript/gd_parser.cpp
@@ -2625,14 +2625,14 @@ void GDParser::_parse_class(ClassNode *p_class) {
2625 2625
2626 Node *subexpr=NULL; 2626 Node *subexpr=NULL;
2627 2627
2628 subexpr = _parse_and_reduce_expression(p_class,false); 2628 subexpr = _parse_and_reduce_expression(p_class,false,autoexport);
2629 if (!subexpr) 2629 if (!subexpr)
2630 return; 2630 return;
2631 2631
2632 member.expression=subexpr; 2632 member.expression=subexpr;
2633 2633
2634 if (autoexport) { 2634 if (autoexport) {
2635 if (subexpr->type==Node::TYPE_ARRAY) { 2635 if (1)/*(subexpr->type==Node::TYPE_ARRAY) {
2636 2636
2637 member._export.type=Variant::ARRAY; 2637 member._export.type=Variant::ARRAY;
2638 2638
@@ -2640,7 +2640,7 @@ void GDParser::_parse_class(ClassNode *p_class) {
2640 2640
2641 member._export.type=Variant::DICTIONARY; 2641 member._export.type=Variant::DICTIONARY;
2642 2642
2643 } else { 2643 } else*/ {
2644 2644
2645 if (subexpr->type!=Node::TYPE_CONSTANT) { 2645 if (subexpr->type!=Node::TYPE_CONSTANT) {
2646 2646