#1
|
|||
|
|||
Rendering problem
Hi,
I have a program with a timer which constantly updates the environment. Upon certain exit conditions it turns all the objects invisible and calls the following code: modeinfo.visible(viz.ON) modeinfo.message("Experiment concluded.") viz.waitkeypress() onkeydown('s') viz.quit() However, it neither renders the objects turning invisible nor the message. Does the program just not refresh if I freeze it within a timer? -YG |
#2
|
|||
|
|||
Hi,
You are stalling application by using the viz.waitkeypress command. This command is only meant to be used inside a director function. See the command reference for more details. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|