#1
|
|||
|
|||
displaymode() problem
I am using the ProcessUtil module to start a script from within another
script. The main script is Code:
from viz import * import ProcessUtil go(STEREO | HMD) g = add('gallery.ive') def onKeyDown(key): if key == KEY_RETURN: ProcessUtil.runScript('foo.py') viz.callback(viz.KEYDOWN_EVENT,onKeyDown) Code:
from viz import * displaymode(1280,480,16,60) go(HMD | STEREO) g = add('court.ive') when you exit from foo.py and return to the main script the viewpoint is raised relative to what it was before foo.py was run. If you comment out the displaymode line in foo.py the problem goes away, but it will have to remain in the actual application I am using. Any suggestions on how to fix this? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
export problem | bazelaisr | Vizard | 2 | 05-28-2008 10:19 AM |
5DT Data Glove 5 Ultra Problem | bjgold | Vizard | 1 | 08-08-2006 04:08 PM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |
sound problem | alaa | Vizard | 7 | 09-02-2005 01:13 PM |
PROBLEM: Picture-in-Picture breaks textures?!? | vcarlson | Vizard | 4 | 10-05-2004 04:22 PM |