summaryrefslogtreecommitdiffstats
path: root/scene/2d/node_2d.h
diff options
context:
space:
mode:
authoranneomcl <anneomclaughlin@gmail.com>2016-09-19 21:36:24 -0700
committeranneomcl <anneomclaughlin@gmail.com>2016-09-19 23:31:45 -0700
commitaa5ade834c8646b81e2320089314393c00ee8020 (patch)
tree55f00e22d4b499ab9486621a03d3649ae0f23835 /scene/2d/node_2d.h
parentc05ff0577fd9cc39a6968e65743f7d7da711bfe2 (diff)
downloadredot-engine-aa5ade834c8646b81e2320089314393c00ee8020.tar.gz
Fix for #6158. Converting Vector2 to Size2 for scaling functions.
Diffstat (limited to 'scene/2d/node_2d.h')
-rw-r--r--scene/2d/node_2d.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/2d/node_2d.h b/scene/2d/node_2d.h
index aa8d0ef33c..b31ee08af6 100644
--- a/scene/2d/node_2d.h
+++ b/scene/2d/node_2d.h
@@ -79,7 +79,7 @@ public:
void move_y(float p_delta,bool p_scaled=false);
void translate(const Vector2& p_amount);
void global_translate(const Vector2& p_amount);
- void scale(const Vector2& p_amount);
+ void scale(const Size2& p_amount);
Point2 get_pos() const;
float get_rot() const;
@@ -110,8 +110,6 @@ public:
Matrix32 get_relative_transform_to_parent(const Node *p_parent) const;
-
-
Matrix32 get_transform() const;
Node2D();