Page 4 of 4
Re: Long 3D meshes
Posted: Sat Mar 05, 2022 5:29 pm
by Durik256
moonpaladin wrote: ↑Fri Feb 25, 2022 7:30 am
this error, AttributeError: 'int' object has no attribute 'setName'.
the last subgrid has no vertex. you need to change the plugin so that it checks for this.
a workaround would be to return an empty mesh. replace all 'return 0' >> 'return NoeMesh([],[],"")' in method ''loadMesh()"

(only one model of all did not open)
Re: Long 3D meshes
Posted: Sat Mar 05, 2022 10:17 pm
by moonpaladin
Durik256 wrote: ↑Sat Mar 05, 2022 5:29 pm
a workaround would be to return an empty mesh. replace all 'return 0' >> 'return NoeMesh([],[],"")' in method ''loadMesh()"
Hello Durik! thank you very much, this gonna save me a lot of time!

Re: Long 3D meshes
Posted: Sat Mar 05, 2022 11:20 pm
by moonpaladin
Durik what could be the problem with some files that throw this error:

sample:
https://www.mediafire.com/file/ic6147ag ... .mesh/file
Of course the filename and directory are ok, error appears at the exact moment that read the file in binary mode. Thanks!
![hero [bruce]](./images/smilies/bruceleeanim.gif)