Browse Source

Merge pull request #35651 from Chaosus/vs_remove_unused_method

Hide "control" methods from VisualShaderNodeGroupBase
Yuri Roubinsky 5 years ago
parent
commit
f6590be606
2 changed files with 0 additions and 21 deletions
  1. 0 18
      doc/classes/VisualShaderNodeGroupBase.xml
  2. 0 3
      scene/resources/visual_shader.cpp

+ 0 - 18
doc/classes/VisualShaderNodeGroupBase.xml

@@ -43,14 +43,6 @@
 			<description>
 			</description>
 		</method>
-		<method name="get_control">
-			<return type="Control">
-			</return>
-			<argument index="0" name="index" type="int">
-			</argument>
-			<description>
-			</description>
-		</method>
 		<method name="get_free_input_port_id" qualifiers="const">
 			<return type="int">
 			</return>
@@ -127,16 +119,6 @@
 			<description>
 			</description>
 		</method>
-		<method name="set_control">
-			<return type="void">
-			</return>
-			<argument index="0" name="control" type="Control">
-			</argument>
-			<argument index="1" name="index" type="int">
-			</argument>
-			<description>
-			</description>
-		</method>
 		<method name="set_input_port_name">
 			<return type="void">
 			</return>

+ 0 - 3
scene/resources/visual_shader.cpp

@@ -2502,9 +2502,6 @@ void VisualShaderNodeGroupBase::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("get_free_input_port_id"), &VisualShaderNodeGroupBase::get_free_input_port_id);
 	ClassDB::bind_method(D_METHOD("get_free_output_port_id"), &VisualShaderNodeGroupBase::get_free_output_port_id);
 
-	ClassDB::bind_method(D_METHOD("set_control", "control", "index"), &VisualShaderNodeGroupBase::set_control);
-	ClassDB::bind_method(D_METHOD("get_control", "index"), &VisualShaderNodeGroupBase::get_control);
-
 	ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "size"), "set_size", "get_size");
 }