From 6d7d6e9271c239a2e290c1505092597324b9a150 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 31 Jan 2012 22:11:09 +0000 Subject: [PATCH] minor fix --- direct/src/showbase/ShowBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 1893787fb7..e61b4dbceb 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -2754,7 +2754,7 @@ class ShowBase(DirectObject.DirectObject): # Set a timer to run the Panda frame 60 times per second. wxFrameRate = ConfigVariableDouble('wx-frame-rate', 60.0) self.wxTimer = wx.Timer(self.wxApp) - self.wxTimer.Start(1000.0 / wxFrameRate) + self.wxTimer.Start(1000.0 / wxFrameRate.getValue()) self.wxApp.Bind(wx.EVT_TIMER, self.__wxTimerCallback) # wx is now the main loop, not us any more.