Merge pull request #35651 from Chaosus/vs_remove_unused_method

Hide "control" methods from VisualShaderNodeGroupBase
This commit is contained in:
Yuri Roubinsky 2020-01-28 10:35:13 +03:00 committed by GitHub
commit f6590be606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 21 deletions

View file

@ -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>

View file

@ -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");
}