Forum: Poser - OFFICIAL


Subject: Subtle bug in keygraph action in 7

ockham opened this issue on Apr 27, 2007 · 21 posts


ockham posted Wed, 09 May 2007 at 10:46 AM

@Tguyus: Yes, that's the one I was thinking of. 

@Anyone:  In case you do run into an error in P7 that says something
about 'deprecated cast to float', don't look for rejected orthotic devices
tossed in the river.  Instead, check the line number and you'll probably
find a range statement like this:

for n in range(0, Width):

where Width or some other variable seems to be a floating-point
number.  The solution is to make the variable an explicit integer:

for n in range(0, int(Width)):

Python 2.4 is (unfortunately, I think) becoming more
like C in requiring explicit types on variables.

My python page
My ShareCG freebies