diff options
| author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-12-20 17:22:44 +0300 |
|---|---|---|
| committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-12-20 17:25:54 +0300 |
| commit | 522d4243bfd2fcb5de7597e7829ad3b99df68244 (patch) | |
| tree | 5592153054571233035140572991dd903e885e9d /editor | |
| parent | 2a04b18d37de6c6e621db5a9dfd1cd0da5ccb015 (diff) | |
| download | redot-engine-522d4243bfd2fcb5de7597e7829ad3b99df68244.tar.gz | |
Add missing != operator to `StringName`
Diffstat (limited to 'editor')
| -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; } |
