1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

make sure array is created if not existing, as noted by Guilherme Felipe

This commit is contained in:
Juan Linietsky
2015-08-25 23:09:41 -03:00
parent d50921b550
commit b0be30d9ef
4 changed files with 14 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ class ArrayPropertyEdit : public Reference {
StringName property;
String vtypes;
Variant get_array() const;
Variant::Type default_type;
void _notif_change();
void _notif_changev(const String& p_v);
@@ -27,7 +28,7 @@ protected:
public:
void edit(Object* p_obj,const StringName& p_prop);
void edit(Object* p_obj, const StringName& p_prop, Variant::Type p_deftype);
ArrayPropertyEdit();
};