View Single Post
  #1  
Old 08-18-2014, 04:24 AM
johnallen johnallen is offline
Member
 
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
force screen refresh/update?

Hi,

I have

Code:
gScreenTextObj = viz.addText3D('',parent=viz.SCREEN, pos=( 0, 0, 0 ) )
and then later in a function that was called following a key press using vizact.onkeydown()

Code:
gScreenTextObj.message = "asdf"
Is there anyway I can force the screen update to take place (displaying the new text 'asdf')? At present it waits until the function ends and flow returns to the main loop.

thanks,

John
Reply With Quote