diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-28 08:05:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 08:05:02 +0100 |
commit | 11b7f9fe0728f8cfe96eadd400913783b1d5e31e (patch) | |
tree | 2efe1ef82f8f3468cf9c8e68ea3100ca750b01e5 | |
parent | 096bf873bc44a942ba7d5c4e52bf089fda6fdd6b (diff) | |
parent | 274f1d8610895eb1fc6f2fa9e393e8a1af796e6b (diff) |
Merge pull request #35650 from Chaosus/vs_remove_prop
Hide "editable" property from VisualShaderNodeGroupBase public interface
-rw-r--r-- | doc/classes/VisualShaderNodeExpression.xml | 1 | ||||
-rw-r--r-- | doc/classes/VisualShaderNodeGlobalExpression.xml | 1 | ||||
-rw-r--r-- | doc/classes/VisualShaderNodeGroupBase.xml | 2 | ||||
-rw-r--r-- | scene/resources/visual_shader.cpp | 4 |
4 files changed, 0 insertions, 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 @@ <methods> </methods> <members> - <member name="editable" type="bool" setter="set_editable" getter="is_editable" override="true" default="true" /> <member name="expression" type="String" setter="set_expression" getter="get_expression" default=""""> </member> </members> 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 @@ <methods> </methods> <members> - <member name="editable" type="bool" setter="set_editable" getter="is_editable" override="true" default="false" /> </members> <constants> </constants> 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 @@ </method> </methods> <members> - <member name="editable" type="bool" setter="set_editable" getter="is_editable" default="false"> - </member> <member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 0, 0 )"> </member> </members> 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"); } |