diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:21:32 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:21:32 +0100 |
commit | 4f3ec4121a4e1f45d64750c6b3bf66f1299ca501 (patch) | |
tree | 0f234f4b6376d51a031e332f8ed064d607910c30 /editor/plugins/visual_shader_editor_plugin.cpp | |
parent | 6b4a01f99ab8978ee115c13b4900a222e7b4e449 (diff) | |
parent | 522d4243bfd2fcb5de7597e7829ad3b99df68244 (diff) |
Merge pull request #70350 from Chaosus/stringname_operator
Add missing != operator to `StringName`
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index cf811067c9..c93b0019dc 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -1263,7 +1263,7 @@ Dictionary VisualShaderEditor::get_custom_node_data(Ref<VisualShaderNodeCustom> void VisualShaderEditor::update_custom_type(const Ref<Resource> &p_resource) { Ref<Script> scr = Ref<Script>(p_resource.ptr()); - if (scr.is_null() || scr->get_instance_base_type() != String("VisualShaderNodeCustom")) { + if (scr.is_null() || scr->get_instance_base_type() != "VisualShaderNodeCustom") { return; } |