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 :)
This commit is contained in:
Juan Linietsky 2015-08-25 20:45:51 -03:00
parent eff2931b2a
commit 04cb3c9eb1
4 changed files with 366 additions and 12 deletions

View file

@ -2625,14 +2625,14 @@ void GDParser::_parse_class(ClassNode *p_class) {
Node *subexpr=NULL;
subexpr = _parse_and_reduce_expression(p_class,false);
subexpr = _parse_and_reduce_expression(p_class,false,autoexport);
if (!subexpr)
return;
member.expression=subexpr;
if (autoexport) {
if (subexpr->type==Node::TYPE_ARRAY) {
if (1)/*(subexpr->type==Node::TYPE_ARRAY) {
member._export.type=Variant::ARRAY;
@ -2640,7 +2640,7 @@ void GDParser::_parse_class(ClassNode *p_class) {
member._export.type=Variant::DICTIONARY;
} else {
} else*/ {
if (subexpr->type!=Node::TYPE_CONSTANT) {