Add missing return
so Visual Studio compiles
This commit is contained in:
parent
ce6fefced8
commit
ab3b0c82c8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue