From 274f1d8610895eb1fc6f2fa9e393e8a1af796e6b Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Tue, 28 Jan 2020 09:43:07 +0300 Subject: Hide "editable" property from VisualShaderNodeGroupBase public interface --- doc/classes/VisualShaderNodeExpression.xml | 1 - doc/classes/VisualShaderNodeGlobalExpression.xml | 1 - doc/classes/VisualShaderNodeGroupBase.xml | 2 -- scene/resources/visual_shader.cpp | 4 ---- 4 files changed, 8 deletions(-) diff --git a/doc/classes/VisualShaderNodeExpression.xml b/doc/classes/VisualShaderNodeExpression.xml index 44ab5d136f..9ed590eb2f 100644 --- a/doc/classes/VisualShaderNodeExpression.xml +++ b/doc/classes/VisualShaderNodeExpression.xml @@ -9,7 +9,6 @@ - diff --git a/doc/classes/VisualShaderNodeGlobalExpression.xml b/doc/classes/VisualShaderNodeGlobalExpression.xml index d6d656b951..c0d2188c0e 100644 --- a/doc/classes/VisualShaderNodeGlobalExpression.xml +++ b/doc/classes/VisualShaderNodeGlobalExpression.xml @@ -9,7 +9,6 @@ - diff --git a/doc/classes/VisualShaderNodeGroupBase.xml b/doc/classes/VisualShaderNodeGroupBase.xml index fc0c71ef2a..e63501dc02 100644 --- a/doc/classes/VisualShaderNodeGroupBase.xml +++ b/doc/classes/VisualShaderNodeGroupBase.xml @@ -195,8 +195,6 @@ - - diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index 64e165f06b..69990b1136 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -2505,10 +2505,6 @@ void VisualShaderNodeGroupBase::_bind_methods() { ClassDB::bind_method(D_METHOD("set_control", "control", "index"), &VisualShaderNodeGroupBase::set_control); ClassDB::bind_method(D_METHOD("get_control", "index"), &VisualShaderNodeGroupBase::get_control); - ClassDB::bind_method(D_METHOD("set_editable", "enabled"), &VisualShaderNodeGroupBase::set_editable); - ClassDB::bind_method(D_METHOD("is_editable"), &VisualShaderNodeGroupBase::is_editable); - - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "editable"), "set_editable", "is_editable"); ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "size"), "set_size", "get_size"); } -- cgit v1.2.3