summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-10 11:44:56 +0200
committerGitHub <noreply@github.com>2019-10-10 11:44:56 +0200
commited9fe4587d3f90c6ebd77b9aa1703f59217943b4 (patch)
tree88af0c741f9ce2ca3bc801edf1cb573bbd933dac
parentf0f972076a7de8012ed336bc47bf1e43a97e6699 (diff)
parent0ec352213dce5a9cff6ac981239fd6c58ae78046 (diff)
Merge pull request #32704 from Chaosus/vs_remove_rebuild
Removed "rebuild" function from public interface of VisualShader
-rw-r--r--doc/classes/VisualShader.xml6
-rw-r--r--scene/resources/visual_shader.cpp1
2 files changed, 0 insertions, 7 deletions
diff --git a/doc/classes/VisualShader.xml b/doc/classes/VisualShader.xml
index 7d7002e752..f0f03b6c21 100644
--- a/doc/classes/VisualShader.xml
+++ b/doc/classes/VisualShader.xml
@@ -145,12 +145,6 @@
<description>
</description>
</method>
- <method name="rebuild">
- <return type="void">
- </return>
- <description>
- </description>
- </method>
<method name="remove_node">
<return type="void">
</return>
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index 9e540cb87b..cd77c8a850 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -1358,7 +1358,6 @@ void VisualShader::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_valid_node_id", "type"), &VisualShader::get_valid_node_id);
ClassDB::bind_method(D_METHOD("remove_node", "type", "id"), &VisualShader::remove_node);
- ClassDB::bind_method(D_METHOD("rebuild"), &VisualShader::rebuild);
ClassDB::bind_method(D_METHOD("is_node_connection", "type", "from_node", "from_port", "to_node", "to_port"), &VisualShader::is_node_connection);
ClassDB::bind_method(D_METHOD("can_connect_nodes", "type", "from_node", "from_port", "to_node", "to_port"), &VisualShader::is_node_connection);