Layer Animations

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Layer Animations

Postby GPNMilano » Sun Sep 07, 2008 3:04 pm

Okay, I know Layer Animations are working in pyprp. But I've done everything to try and get them to work and I keep getting an error
Code: Select all
 File "<string>", line 169, in open_file
  File "<string>", line 88, in export_age
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_ResManager.py", line
141, in save
    self.prp.write(f)
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_File.py", line 670, i
n write
    o.writeobjects(buf)
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_File.py", line 423, i
n writeobjects
    o.write(buf)
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_File.py", line 340, i
n write
    self.data.write(buf)
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_MatClasses.py", line
2526, in write
    plLayerAnimationBase.write(self, stream)
  File "C:\Program Files\Blender\2.46\.blender\scripts\prp_MatClasses.py", line
2489, in write
    self.fPreshadeColorCtl.write(stream)
AttributeError: 'NoneType' object has no attribute 'write'


I tried exporting the AnimatedDoor blend file that was made when animations came out, and it exports fine. So obviously i'm doing something wrong with my material or animation for it. Any help on this would be appreciated.

EDIT:
Nevermind. I'm an idiot. I changed the page numbers of the object. So the layer animation couldn't write because the object it was supposed to be attached to didn't exist in that page. Dumb Dumb Dumb.
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests

cron