mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
don't set draw bin for text
This commit is contained in:
parent
0cf3ae8638
commit
b257675d04
@ -191,9 +191,7 @@ class OnscreenText(PandaObject, NodePath):
|
||||
scale[0], 1, scale[1]) * Mat4.translateMat(pos[0], 0, pos[1])
|
||||
textNode.setTransform(mat)
|
||||
|
||||
if drawOrder == None:
|
||||
drawOrder = DirectGuiGlobals.getDefaultDrawOrder()
|
||||
|
||||
if drawOrder != None:
|
||||
textNode.setBin('fixed')
|
||||
textNode.setDrawOrder(drawOrder)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user