Dora SkinWeight Import Export 3.8.1 for Maya (maya script)
import/export skin weights
Bugs
Import doesn't work on first run of script
| Status | closed |
|---|---|
| Priority | low |
| Date | 10/19/2009 |
| Submitted by |
|
| Modify this bug | edit |
I installed this script and successfully exported weight lists for two
meshes. I switched to the import tab and attempted to import onto the
same meshes (after deleting history, rescaling the skeleton and skin,
and adding a new skin cluster) using vertex order, and the script did
nothing. I poked around in the source file and discovered it was
because the hidden
DoraSkinWeightImpExp_TXTF_ImpName text field wasn't being populated, so
DoraSkinWeightImport would exit prematurely. This if statement on line 1604 seems to be the culprit:
DoraSkinWeightImpExp_TXTF_ImpName text field wasn't being populated, so
DoraSkinWeightImport would exit prematurely. This if statement on line 1604 seems to be the culprit:
if( size( $dswAppendList ) != 0 )$dswAppendList will always have 0 items when the script is first run (and whenever it's run without anything in the list). Adding items to the list won't cause that block of code to be re-evaluated.
Comments on this bug:
DoraYuki said almost 17 years ago:
szabolcs szabados said over 15 years ago: