mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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):
|
def __init__(self, dcFileNames = None):
|
||||||
self.dcSuffix=""
|
self.dcSuffix=""
|
||||||
ConnectionRepository.__init__(self, ConnectionRepository.CM_HTTP, base.config, hasOwnerView=True)
|
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.context=100000
|
||||||
self.setClientDatagram(1)
|
self.setClientDatagram(1)
|
||||||
|
@ -42,7 +42,8 @@ class ConnectionRepository(
|
|||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
if hasattr(self, 'setVerbose'):
|
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
|
# Set this to 'http' to establish a connection to the server
|
||||||
# using the HTTPClient interface, which ultimately uses the
|
# using the HTTPClient interface, which ultimately uses the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user