Beherith / Skeletor_S3O

A blender script that automatically generates a skeleton for an s3o imported model for SpringRTS animation. Makes .BOS exported script from animation too.
https://www.beyondallreason.info/
GNU General Public License v3.0
2 stars 2 forks source link

Skip creating faces that already exists #3

Closed psimyn closed 3 years ago

psimyn commented 3 years ago

while I am sending you PRs

I don't know how this should actually be handled but was previously getting this error

File "s3o_import.py", line 293, in load
    bm.faces.new([bm.verts[self.vertids[i]] for i in f])
ValueError: faces.new(verts): face already exists

when trying to import https://github.com/ZeroK-RTS/Zero-K/blob/master/Objects3d/commsupport.s3o