mgear-dev / mgear_dist

mGear v.3.x.x distribution repository
http://www.mgear-framework.com/
MIT License
184 stars 53 forks source link

Exporting skinweights on lattice does not save the file #42

Open scroll opened 5 years ago

scroll commented 5 years ago

Describe the bug It seems like there is no filed saved when exporting skinned lattices.

To Reproduce Steps to reproduce the behavior: Skin a lattice. Export the skinned object weights. There is no file saved.

Additional information I haven't had the time to debug it, maybe it's just looking for polygon or curves as an objects to export, but there is usually fair amount of non-linear deformers used in rigging so maybe it's useful to have that exported as well.

scroll commented 5 years ago

By the way, I just put this here for placeholder info. I can probably try to resolve this once I get some free time.

miquelcampos commented 5 years ago

Hi @scroll thanks for adding this functionality. indeed it was missing.
Also, don't remember if other types a part of meshes is supported (curves and nurbs) :P

chris-lesage commented 4 years ago

As of now, only mesh, nurbsSurface, and nurbsCurve are supported. The code explicitly checks for those types. But it should be straight forward to include lattices. (I had a note in my own tasks to tackle this too. I use lattices as well.)

miquelcampos commented 4 years ago

Hello, I have added this ticket to 3.x project. If you can check this @chris-lesage that will be great. But I have assigned it to me, just in case ;) Thanks