diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index c4d27602048..dec0910fb54 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1118,7 +1118,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){