mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
added verbose-*repository configs
This commit is contained in:
parent
8148d09ddb
commit
7ad04f5061
@ -26,6 +26,9 @@ class ClientRepositoryBase(ConnectionRepository):
|
||||
def __init__(self, dcFileNames = None):
|
||||
self.dcSuffix=""
|
||||
ConnectionRepository.__init__(self, ConnectionRepository.CM_HTTP, base.config, hasOwnerView=True)
|
||||
if hasattr(self, 'setVerbose'):
|
||||
if self.config.GetBool('verbose-clientrepository'):
|
||||
self.setVerbose(1)
|
||||
|
||||
self.context=100000
|
||||
self.setClientDatagram(1)
|
||||
|
@ -42,7 +42,8 @@ class ConnectionRepository(
|
||||
self.config = config
|
||||
|
||||
if hasattr(self, 'setVerbose'):
|
||||
self.setVerbose(self.config.GetBool('verbose-repository', 0))
|
||||
if self.config.GetBool('verbose-repository'):
|
||||
self.setVerbose(1)
|
||||
|
||||
# Set this to 'http' to establish a connection to the server
|
||||
# using the HTTPClient interface, which ultimately uses the
|
||||
|
Loading…
x
Reference in New Issue
Block a user