From c8bf4d6137f8921a1c8da6be4077a020587257b7 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Wed, 8 Oct 2003 00:41:47 +0000 Subject: [PATCH] comments --- direct/src/showbase/ShowBase.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index bcf931f2c7..7e4491ad22 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -872,13 +872,16 @@ class ShowBase(DirectObject.DirectObject): self.eventMgr.shutdown() def getBackgroundColor(self): - """ Returns the current window background color. This assumes + """ + Returns the current window background color. This assumes the window is set up to clear the color each frame (this is - the normal setting). """ + the normal setting). + """ return VBase4(self.win.getClearColor()) def setBackgroundColor(self, *args): - """ Sets the window background color to the indicated value. + """ + Sets the window background color to the indicated value. This assumes the window is set up to clear the color each frame (this is the normal setting).