mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Node create dialog filtering optimization
Avoid loading the same scripts again and parse them when updating the node type tree.
This commit is contained in:
parent
dc114fa2ef
commit
fb9ff92c29
4 changed files with 33 additions and 11 deletions
|
|
@ -219,6 +219,8 @@ public:
|
|||
StringName script_class_get_base(const String &p_class) const;
|
||||
Object *script_class_instance(const String &p_class);
|
||||
|
||||
Ref<Script> script_class_load_script(const String &p_class) const;
|
||||
|
||||
StringName script_class_get_name(const String &p_path) const;
|
||||
void script_class_set_name(const String &p_path, const StringName &p_class);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue