Merge pull request #2503 from eska014/master
Add missing `return` so Visual Studio compiles again
This commit is contained in:
commit
4fef36825e
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue