Merge pull request #2503 from eska014/master

Add missing `return` so Visual Studio compiles again
This commit is contained in:
Juan Linietsky 2015-09-22 09:38:46 -03:00
commit 4fef36825e

View file

@ -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);
}