From 9705d5587e584f8a728f661088a09b201fb4eecb Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Tue, 28 Jan 2020 10:24:59 +0300 Subject: [PATCH] Hide "control" methods from VisualShaderNodeGroupBase --- doc/classes/VisualShaderNodeGroupBase.xml | 18 ------------------ scene/resources/visual_shader.cpp | 3 --- 2 files changed, 21 deletions(-) diff --git a/doc/classes/VisualShaderNodeGroupBase.xml b/doc/classes/VisualShaderNodeGroupBase.xml index e63501dc02d..ea8a4032be2 100644 --- a/doc/classes/VisualShaderNodeGroupBase.xml +++ b/doc/classes/VisualShaderNodeGroupBase.xml @@ -43,14 +43,6 @@ - - - - - - - - @@ -127,16 +119,6 @@ - - - - - - - - - - diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index 69990b11367..e350a0a99ea 100644 --- a/scene/resources/visual_shader.cpp +++ b/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"); }