SW: Use gstate.getNumBoneWeights()