summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-01-27 18:46:35 +0300
committerChaosus <chaosus89@gmail.com>2020-01-27 19:18:48 +0300
commit796484d761cf88b2f9f6e2faa296fba254123f99 (patch)
tree62e72ad057aa42c462dbccab2e58efa085501985 /scene/resources
parent8dadd7881dc9c91e8a0a27a53555d3602ca0278d (diff)
Added missing property "size" to VisualShaderNodeGroupBase
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/visual_shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index 820659d70d..64e165f06b 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -2509,6 +2509,7 @@ void VisualShaderNodeGroupBase::_bind_methods() {
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");
}
String VisualShaderNodeGroupBase::generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview) const {