diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-15 19:31:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 19:31:05 +0200 |
commit | b5ece7c36367e74eb93fb3625eb77a848487f9fd (patch) | |
tree | 98f85360bc5cdbea62305f9aa9a7e6ca63f577a9 /scene/resources | |
parent | fe4ca9e4df90cf01fe5a1f7a663a7a9e3e8d701d (diff) | |
parent | e270644b2061fa43c61c6b8c3e4218b95dcd4d74 (diff) |
Merge pull request #53764 from Chaosus/vs_curve_input_port_default
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/visual_shader_nodes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/visual_shader_nodes.cpp b/scene/resources/visual_shader_nodes.cpp index e45dfdcb1b..c3d9ef7b04 100644 --- a/scene/resources/visual_shader_nodes.cpp +++ b/scene/resources/visual_shader_nodes.cpp @@ -918,6 +918,7 @@ bool VisualShaderNodeCurveTexture::is_use_prop_slots() const { } VisualShaderNodeCurveTexture::VisualShaderNodeCurveTexture() { + set_input_port_default_value(0, 0.0); simple_decl = true; allow_v_resize = false; } @@ -1002,6 +1003,7 @@ bool VisualShaderNodeCurveXYZTexture::is_use_prop_slots() const { } VisualShaderNodeCurveXYZTexture::VisualShaderNodeCurveXYZTexture() { + set_input_port_default_value(0, 0.0); simple_decl = true; allow_v_resize = false; } |