diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-09-14 11:31:01 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-09-14 11:31:01 +0200 |
commit | f1dca7760c419e42c98cd223c44122cbbdcbb050 (patch) | |
tree | 53c10afb665f086f1c0f61075db021732854a874 /modules | |
parent | 195ea41a7ad3dd83d33162d2656e7e383674d3aa (diff) |
Rename VisualScriptEditor singleton to VisualScriptCustomNodes
Follow-up to #51916, fixes inconsistency between singleton name and class
as documented in https://github.com/godotengine/godot/issues/52162#issuecomment-918979753.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/visual_script/register_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/register_types.cpp b/modules/visual_script/register_types.cpp index 7fb9707fce..890861cf82 100644 --- a/modules/visual_script/register_types.cpp +++ b/modules/visual_script/register_types.cpp @@ -117,7 +117,7 @@ void register_visual_script_types() { GDREGISTER_CLASS(VisualScriptCustomNodes); ClassDB::set_current_api(ClassDB::API_CORE); vs_custom_nodes_singleton = memnew(VisualScriptCustomNodes); - Engine::get_singleton()->add_singleton(Engine::Singleton("VisualScriptEditor", VisualScriptCustomNodes::get_singleton())); + Engine::get_singleton()->add_singleton(Engine::Singleton("VisualScriptCustomNodes", VisualScriptCustomNodes::get_singleton())); VisualScriptEditor::register_editor(); #endif |