Skip to content

Commit

Permalink
fixes wrong bool return, closes #5037
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Jun 10, 2016
1 parent 6b7ddce commit c5a2aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/main/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ void Viewport::set_size_override_stretch(bool p_enable) {

bool Viewport::is_size_override_stretch_enabled() const {

return size_override;
return size_override_stretch;
}

void Viewport::set_as_render_target(bool p_enable){
Expand Down

0 comments on commit c5a2aff

Please sign in to comment.