summaryrefslogtreecommitdiff
path: root/servers/visual/shader_language.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-12 08:16:15 +0200
committerGitHub <noreply@github.com>2019-08-12 08:16:15 +0200
commit50a4ed3d13ec3f18d95d958c9d197adf5e99d6fa (patch)
tree07f4f27ef4869d50c08fa8a81f14a68d5ab84799 /servers/visual/shader_language.cpp
parent82a86e807404b7406ba3e7d035ceb0ff89eb90f1 (diff)
parent9f7a166c356b1f9bf32f3dcb5b62f76fc54dbb35 (diff)
Merge pull request #31258 from creikey/fix-redefine
Show that identifier found in function names
Diffstat (limited to 'servers/visual/shader_language.cpp')
-rw-r--r--servers/visual/shader_language.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp
index 5c28705192..5f39d3ff49 100644
--- a/servers/visual/shader_language.cpp
+++ b/servers/visual/shader_language.cpp
@@ -961,6 +961,7 @@ bool ShaderLanguage::_find_identifier(const BlockNode *p_block, const Map<String
if (r_type) {
*r_type = IDENTIFIER_FUNCTION;
}
+ return true;
}
}