diff options
author | eska <eska@eska.me> | 2015-09-22 05:59:10 +0200 |
---|---|---|
committer | eska <eska@eska.me> | 2015-09-22 05:59:10 +0200 |
commit | ab3b0c82c8786fbba97cc20bfd5331022fc4d725 (patch) | |
tree | ac2bc27da613fd3694811dcb46e7a53976cc8ab3 | |
parent | ce6fefced8b0ac6d3be886db5ee1234dba7ec544 (diff) |
Add missing `return` so Visual Studio compiles
-rw-r--r-- | scene/resources/rectangle_shape_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/rectangle_shape_2d.cpp b/scene/resources/rectangle_shape_2d.cpp index 9a32b013c1..7903d88736 100644 --- a/scene/resources/rectangle_shape_2d.cpp +++ b/scene/resources/rectangle_shape_2d.cpp @@ -57,7 +57,7 @@ void RectangleShape2D::draw(const RID& p_to_rid,const Color& p_color) { Rect2 RectangleShape2D::get_rect() const { - Rect2(-extents,extents*2.0); + return Rect2(-extents,extents*2.0); } |