Re: [cgkit-user] maya ascii import
Brought to you by:
mbaas
From: Matthias B. <mat...@gm...> - 2007-04-19 12:23:29
|
horace wrote: > when i try to load an maya ascii file i get the following error message: > > File "C:\Python24\Lib\site-packages\cgkit\cmds.py", line 928, in load > imp.importFile(os.path.basename(filename), **options) > File "C:\Python24\Lib\site-packages\cgkit\maimport.py", line 81, in > importFile > self.read(f) > File "C:\Python24\Lib\site-packages\cgkit\mayaascii.py", line 833, in read > z = cpp.filterLine (s).strip() > AttributeError: PreProcessor instance has no attribute 'filterLine' > > any idea what's wrong? In alpha7 I modified the preprocessor which broke the mayaascii module and unfortunately I only noticed that after the release. Sorry. (meanwhile I have added a unit test for this so it should not happen again) Can you upgrade to the latest svn version? It's fixed in there. (It might be enough to just grab mayaascii.py and simplecpp.py and replace those files in your installation) - Matthias - |