Hide "editable" property from VisualShaderNodeGroupBase public interface

This commit is contained in:
Yuri Roubinsky 2020-01-28 09:43:07 +03:00
parent 096bf873bc
commit 274f1d8610
4 changed files with 0 additions and 8 deletions

View file

@ -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="&quot;&quot;">
</member>
</members>

View file

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

View file

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

View file

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