mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add missing != operator to StringName
This commit is contained in:
parent
2a04b18d37
commit
522d4243bf
4 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue