{
"class": "export-gif",
"exportType": "animation",
"skeletonType": "single",
"skeleton": "E800021",
"animationType": "all",
"animation": null,
"skinType": "current",
"skinNone": false,
"skin": null,
"maxBounds": false,
"renderImages": true,
"renderBones": false,
"renderOthers": false,
"scale": 100,
"fitWidth": 0,
"fitHeight": 0,
"enlarge": false,
"background": { "b": 0.11372549, "r": 0.11372549, "g": 0.11372549, "a": 1 },
"fps": 8,
"lastFrame": false,
"cropWidth": 0,
"cropHeight": 0,
"rangeStart": -1,
"rangeEnd": -1,
"outputType": "filePerAnimation",
"animationRepeat": 1,
"animationPause": 0,
"colors": 256,
"colorDither": 50,
"alphaThreshold": 0,
"alphaDither": 0,
"quality": 8,
"transparency": false,
"repeat": 0,
"pad": false,
"msaa": 4,
"smoothing": 11,
"alphaDitherType": "diffusion",
"alphaDitherOption": "expand",
"renderSelection": false,
"cropX": 0,
"cropY": 0,
"output": "",
"input": "",
"open": false
}
这是我用的导出配置表信息。
经过我多次测试,好像跟版本无关,跟导出配置表无关,跟选中动画也无关。应该跟编辑模式有关,打开任何一个文件只要切换过动画编辑模式,或者在直接动画模式,无论选不选择动画,导出结果就是正确的。如果直接打开一个新导入生成的spine文件,没有切换过动画编辑模式,就有可能导出的图片是不正确的。
这意味着我们通过导入文件生成的spine项目,如果想导出完全正确的gif图,至少需要打开文件切换一次编辑状态?或者有其他解决办法?