mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
load built-in font instead of Comic
This commit is contained in:
parent
675155385e
commit
5e4d3afa03
@ -27,11 +27,7 @@ class DirectSession(PandaObject):
|
|||||||
__builtins__["direct"] = self
|
__builtins__["direct"] = self
|
||||||
# These come early since they are used later on
|
# These come early since they are used later on
|
||||||
self.group = render.attachNewNode('DIRECT')
|
self.group = render.attachNewNode('DIRECT')
|
||||||
# Set priority to 100 so it always is textured
|
self.font = TextNode.getDefaultFont()
|
||||||
# Call class method to avoid conflict with ToontownLoader
|
|
||||||
self.font = Loader.Loader.loadFont(loader,
|
|
||||||
"models/fonts/Comic",
|
|
||||||
priority = 100)
|
|
||||||
self.fEnabled = 0
|
self.fEnabled = 0
|
||||||
self.drList = DisplayRegionList()
|
self.drList = DisplayRegionList()
|
||||||
self.iRayList = map(lambda x: x.iRay, self.drList)
|
self.iRayList = map(lambda x: x.iRay, self.drList)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user