我使用命令行(CLI)导出指定spine的gif,发现我修改设置json文件的skin和animation没有效果,一直导出的是默认的皮肤和动画
{
"class": "com.esotericsoftware.spine.editor.Prefs$ExportImages",
"project": "D:\ART\2018SpineAnimation\demon_jerry_chuansongmen_a2_a\demon_jerry_chuansongmen_a2_a.spine",
"output": "D:/ART/2018SpineAnimation/demon_jerry_chuansongmen_a2_a/demon_jerry_chuansongmen_a2_a",
"imageType": "GIF",
"exportType": "序列",
"animation": "当前",
"skin": "当前",
"images": true,
"bones": false,
"background": {
"r": 0.3764706,
"g": 0.3764706,
"b": 0.3764706,
"a": 1
},
"transparency": false,
"quality": 20,
"repeat": 0,
"fps": 30,
"createAtlas": false,
"others": false,
"texturePacker": null
}这个是默认的导出配置
当我修改skin和image后,
{
"class": "com.esotericsoftware.spine.editor.Prefs$ExportImages",
"project": "D:\ART\2018SpineAnimation\demon_jerry_chuansongmen_a2_a\demon_jerry_chuansongmen_a2_a.spine",
"output": "D:/ART/2018SpineAnimation/demon_jerry_chuansongmen_a2_a/demon_jerry_chuansongmen_a2_a",
"imageType": "GIF",
"exportType": "序列",
"animation": "get",
"skin": "default",
"images": true,
"bones": false,
"background": {
"r": 0.3764706,
"g": 0.3764706,
"b": 0.3764706,
"a": 1
},
"transparency": false,
"quality": 20,
"repeat": 0,
"fps": 30,
"createAtlas": false,
"others": false,
"texturePacker": null
},我无法导出我指定的皮肤动画gif