mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
commenting out old code
This commit is contained in:
parent
2a92b0e512
commit
75393d035b
@ -46,6 +46,7 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
|
||||
self.bootedIndex = None
|
||||
self.bootedText = None
|
||||
|
||||
if 0: # unused:
|
||||
self.worldScale = render.attachNewNode("worldScale") # for grid zones.
|
||||
self.worldScale.setScale(base.config.GetFloat('world-scale', 100))
|
||||
self.priorWorldPos = None
|
||||
@ -98,6 +99,7 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
|
||||
self.disconnect()
|
||||
self.stopHeartbeat()
|
||||
|
||||
if 0: # Code that became obsolete before it was used:
|
||||
def setWorldOffset(self, xOffset=0, yOffset=0):
|
||||
self.worldXOffset=xOffset
|
||||
self.worldYOffset=yOffset
|
||||
|
Loading…
x
Reference in New Issue
Block a user