Programming gone awry
Thoughts and tutorials on programming
Tuesday, December 05, 2006
how to get blender to not choke when you check for a variable that doesn't exist
try:
print GameLogic.bbc == ""
except AttributeError:
print "bad!"
print "done"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Contributors
Roger Pack
Roger Pack
Blog Archive
►
2021
(1)
►
March
(1)
►
2020
(2)
►
August
(2)
►
2011
(5)
►
August
(4)
►
February
(1)
►
2009
(18)
►
December
(1)
►
September
(3)
►
August
(3)
►
July
(1)
►
June
(3)
►
May
(6)
►
April
(1)
►
2008
(8)
►
November
(6)
►
October
(1)
►
March
(1)
►
2007
(13)
►
June
(11)
►
January
(2)
▼
2006
(27)
▼
December
(11)
off-center?
errors off by one
ipo's and parenting
ipo's versus frames
how to flip normals/invert them
how to do buttons in blender, and also how to set ...
how to get blender to not choke when you check for...
text boxes
empty's bounce
How to edit this blog
how to unparent in blender
►
November
(9)
►
October
(7)
Links
Edumetrics Home
Blender Main Site
Followers
No comments:
Post a Comment