diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2016-09-20 09:28:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-20 09:28:26 +0200 |
commit | 1c50dfdf6c352574391c953d88732382adc15e83 (patch) | |
tree | f719805d251e51d8dd87e12d35318e512601a177 /scene/2d/polygon_2d.cpp | |
parent | 82f5130cad04c2a959a87ea0bca63e82454fa3cf (diff) | |
parent | aa5ade834c8646b81e2320089314393c00ee8020 (diff) |
Merge pull request #6557 from anneomcl/master
Fix for #6158
Diffstat (limited to 'scene/2d/polygon_2d.cpp')
-rw-r--r-- | scene/2d/polygon_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/polygon_2d.cpp b/scene/2d/polygon_2d.cpp index cfb87fb998..12893524d1 100644 --- a/scene/2d/polygon_2d.cpp +++ b/scene/2d/polygon_2d.cpp @@ -288,12 +288,12 @@ float Polygon2D::_get_texture_rotationd() const{ } -void Polygon2D::set_texture_scale(const Vector2& p_scale){ +void Polygon2D::set_texture_scale(const Size2& p_scale){ tex_scale=p_scale; update(); } -Vector2 Polygon2D::get_texture_scale() const{ +Size2 Polygon2D::get_texture_scale() const{ return tex_scale; } |