Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error (partly?) #13

Closed
DerekX opened this issue Nov 5, 2012 · 6 comments
Closed

Import error (partly?) #13

DerekX opened this issue Nov 5, 2012 · 6 comments
Assignees

Comments

@DerekX
Copy link

DerekX commented Nov 5, 2012

Warcraft 3 models load, but with this error:

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.63\s
cripts\addons\WarMDLImport.py", line 324, in execute
return di.run(self.filepath, context)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.63\s
cripts\addons\WarMDLImport.py", line 290, in run
texface.uv1 = (self.mgr.tvertices[i][face[0]][0], 1 - self.mgr.tvertices[i][
face[0]][1])
AttributeError: 'MeshTexturePoly' object has no attribute 'uv1'

@CruzR
Copy link
Owner

CruzR commented Nov 8, 2012

Well, I haven't done any work on this project for some time, and from your error message it seems that the Blender Python API has slightly changed. If I find the time I'll look into it.

@CruzR
Copy link
Owner

CruzR commented Nov 17, 2012

Huh, it seems the Blender Python API documentation is getting worse with each release. It might take some time to digg into this issue.

@DerekX
Copy link
Author

DerekX commented Nov 18, 2012

Take yer time man. I got other stuff going on, and I'd rather get this right.

@ghost ghost assigned CruzR Nov 19, 2012
CruzR added a commit that referenced this issue Nov 22, 2012
@CruzR
Copy link
Owner

CruzR commented Nov 22, 2012

Alright, I think it should be fixed now. Could you please confirm that?

@DerekX
Copy link
Author

DerekX commented Nov 23, 2012

Confirmed. Error's gone and the textures also load correctly. :)

@CruzR
Copy link
Owner

CruzR commented Nov 23, 2012

Great! I'll close this issue.

@CruzR CruzR closed this as completed Nov 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants