summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2019-10-10 12:15:55 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2019-10-10 12:15:55 +0300
commit0ec352213dce5a9cff6ac981239fd6c58ae78046 (patch)
tree41a4a992c82e96d1ab67affcfd8f82e446f0b388
parent220ee9281ffa9cc5145472c0aec50d3905a03577 (diff)
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);