mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
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:
parent
eff2931b2a
commit
04cb3c9eb1
4 changed files with 366 additions and 12 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue