diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-01 23:50:59 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-01 23:50:59 +0200 |
commit | 005aac2dbe2ed590e30e85424100f016c6c65fd6 (patch) | |
tree | a976723bc3c18472b13c81f607b0e8260699d80a /scene/resources/visual_shader.cpp | |
parent | 168f6ca63b6b244273afb69163704bf3212f4206 (diff) | |
parent | b7e2d452336ec3eff6f3393e68443773178c2910 (diff) |
Merge pull request #65187 from JohanAR/vector_to_size
Diffstat (limited to 'scene/resources/visual_shader.cpp')
-rw-r--r-- | scene/resources/visual_shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index 90f1a1bff1..0dad5d4be4 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -3855,11 +3855,11 @@ VisualShaderNodeUniform::VisualShaderNodeUniform() { ////////////// ResizeableBase -void VisualShaderNodeResizableBase::set_size(const Vector2 &p_size) { +void VisualShaderNodeResizableBase::set_size(const Size2 &p_size) { size = p_size; } -Vector2 VisualShaderNodeResizableBase::get_size() const { +Size2 VisualShaderNodeResizableBase::get_size() const { return size; } |