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

Prevent using multiple class_name in a class

This commit is contained in:
lupoDharkael
2019-04-13 17:26:58 +02:00
parent b7cf4c2050
commit c07b49280a
2 changed files with 9 additions and 1 deletions

View File

@@ -149,6 +149,7 @@ public:
bool tool;
StringName name;
bool extends_used;
bool classname_used;
StringName extends_file;
Vector<StringName> extends_class;
DataType base_type;
@@ -198,6 +199,7 @@ public:
tool = false;
type = TYPE_CLASS;
extends_used = false;
classname_used = false;
end_line = -1;
owner = NULL;
}