general: set cull bins
This commit is contained in:
parent
fb7fed72fc
commit
9c258294ab
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
cull-bin gui-popup 60 unsorted
|
||||
want-render2dp 1
|
||||
text-encoding utf8
|
||||
direct-wtext 0
|
||||
|
@ -12,8 +11,6 @@ collect-tcp 1
|
|||
collect-tcp-interval 0.2
|
||||
server-version sv1.0.47.38
|
||||
server-version-suffix
|
||||
cull-bin shadow 15 fixed
|
||||
cull-bin ground 14 fixed
|
||||
model-path resources
|
||||
dc-file etc/toon.dc
|
||||
dc-file etc/otp.dc
|
||||
|
|
|
@ -143,6 +143,9 @@ class ToonBase(OTPBase.OTPBase):
|
|||
tpMgr.setProperties('WLDisplay', WLDisplay)
|
||||
tpMgr.setProperties('WLEnter', WLEnter)
|
||||
del tpMgr
|
||||
CullBinManager.getGlobalPtr().addBin('gui-popup', CullBinManager.BTUnsorted, 60)
|
||||
CullBinManager.getGlobalPtr().addBin('shadow', CullBinManager.BTFixed, 15)
|
||||
CullBinManager.getGlobalPtr().addBin('ground', CullBinManager.BTFixed, 14)
|
||||
self.lastScreenShotTime = globalClock.getRealTime()
|
||||
self.accept('InputState-forward', self.__walking)
|
||||
self.canScreenShot = 1
|
||||
|
|
Loading…
Reference in a new issue