bagginsbill opened this issue on Apr 23, 2008 · 2832 posts
adp001 posted Wed, 09 July 2008 at 9:32 AM
It works if you wrap anything into a class.
import poser
import time
class test(object):
def __init__(self):
pass
def main(self):
t=time.time()
while 1:
poser.Scene().ProcessSomeEvents(10)
if t +10 > time.time() :
t=time.time()
print t
t=test()
t.main()
Here is the output. I started "Inventory". As you can see, Iventory does it's job and the output continues.
1215613654.8
1215613655.39
1215613655.65
1215613655.88
1215613656.39
.RuntimePythonposerScriptsMaterialModsset_mats.py was successfully created.
Open it to view material inventory. Modify and run it to set materials.
1215613657.63
1215613657.86