From 27fb1a4a9e5a0b7e216c037cebed5aa6b3a3afef Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 5 Jan 2018 15:00:21 +0100 Subject: [PATCH] showbase: fix aspect ratio calculation backs out part of 7a46b2ca60aacc1b8f1c87a7a101546bd6214120, from PR #204 --- direct/src/showbase/ShowBase.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index af14d94de6..26685a0693 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -1267,8 +1267,7 @@ class ShowBase(DirectObject.DirectObject): if win == None: win = self.win - if win != None and win.getSideBySideStereo() and \ - win.hasSize() and win.getSbsLeftYSize() != 0: + if win != None and win.hasSize() and win.getSbsLeftYSize() != 0: aspectRatio = float(win.getSbsLeftXSize()) / float(win.getSbsLeftYSize()) else: if win == None or not hasattr(win, "getRequestedProperties"):