summaryrefslogtreecommitdiffstats
path: root/scene/resources/shader_graph.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-14 08:28:01 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-14 08:28:01 -0300
commitf2183a5e09cc55a91b550f0d8f45b45a93d82b29 (patch)
tree49e072558a9df4c7f66e12eabdf328779716f861 /scene/resources/shader_graph.cpp
parent534c8e74b9e4990ac1f63ef701330552cecfc28f (diff)
downloadredot-engine-f2183a5e09cc55a91b550f0d8f45b45a93d82b29.tar.gz
replaced :var by :Variant in documentation, fixes #2897
Diffstat (limited to 'scene/resources/shader_graph.cpp')
-rw-r--r--scene/resources/shader_graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shader_graph.cpp b/scene/resources/shader_graph.cpp
index 7b67eaeda8..f8a14e58a0 100644
--- a/scene/resources/shader_graph.cpp
+++ b/scene/resources/shader_graph.cpp
@@ -260,7 +260,7 @@ void ShaderGraph::_bind_methods() {
ObjectTypeDB::bind_method(_MD("clear","shader_type"),&ShaderGraph::clear);
ObjectTypeDB::bind_method(_MD("node_set_state","shader_type","id","state"),&ShaderGraph::node_set_state);
- ObjectTypeDB::bind_method(_MD("node_get_state:var","shader_type","id"),&ShaderGraph::node_get_state);
+ ObjectTypeDB::bind_method(_MD("node_get_state:Variant","shader_type","id"),&ShaderGraph::node_get_state);
ObjectTypeDB::bind_method(_MD("_set_data"),&ShaderGraph::_set_data);
ObjectTypeDB::bind_method(_MD("_get_data"),&ShaderGraph::_get_data);