summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-09 22:30:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-09 22:30:34 -0300
commitc5a2aff6db2ee419c544a4eb38f2629f4f9555ee (patch)
tree51cfd153ac2453afb7a7aebb3690bf408093d04c /scene/main
parent6b7ddce183b7ba1e05739a345bf8b100b11e02ca (diff)
fixes wrong bool return, closes #5037
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 4083dc893d..aef53ea230 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -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){