from direct.showbase.DirectObject import DirectObject
from direct.gui.DirectEntry import DirectEntry
import direct.directbase.DirectStart
class main(DirectObject):
def __init__(self):
self.posXEntry = DirectEntry(scale = .1)
main = main()
run()
please type in letters until you reach the end of the entry, then type some more letters (even if its not possible to write more), then press left or right arrow key.
the crash only occurs if you are using a panda3D build with assertions.
however in a panda build witout assertions the cursor just dissapears.
i analysed the problem in detail and found out that the problem is caused by an unititialized TextAssembler::TextRow class. The fix is simple just add the initialization of the _xpos and _ypos members to the constructor