Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
1.12.1 - change png separator to comma instead of space
Browse files Browse the repository at this point in the history
Match the existing 'skin path' separator.
  • Loading branch information
MikalDev committed Sep 11, 2020
1 parent 7f15e47 commit e2694c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file added dist/Spine-v1.12.1.c3addon
Binary file not shown.
2 changes: 1 addition & 1 deletion src/addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "plugin",
"name": "Spine",
"id": "Gritsenko_Spine",
"version": "1.12.0",
"version": "1.12.1",
"author": "Mikal and Igor Gritsenko",
"website": "https://gritsenko.github.io/c3_spine_plugin",
"documentation": "https://gritsenko.github.io/c3_spine_plugin",
Expand Down
2 changes: 1 addition & 1 deletion src/c3runtime/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
let textureLoader = function(img) { return new spine.webgl.GLTexture(gl, img); };

// Load multiple textures and set up path translation (for C3 preview with 'blob' URIs)
let assetPaths = this.pngPath.split(" ");
let assetPaths = this.pngPath.split(",");
for(let i=0;i<assetPaths.length;i++)
{
this.pngURI = await globalThis.c3_runtimeInterface._localRuntime._assetManager.GetProjectFileUrl(assetPaths[i]);
Expand Down
4 changes: 2 additions & 2 deletions src/lang/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
},
"png": {
"name": ".png path(s)",
"desc": "path to png file(s) i.e. \"character.png\" or \"character.png character2.png\""
"desc": "path to png file(s) i.e. \"character.png\" or \"character.png,character2.png\""
},
"skin": {
"name": "Skin",
"desc": "Active skin name"
"desc": "Active skin name(s) i.e. \"fighter\" or \"fighter,sword-large\""
},
"animation": {
"name": "Animation",
Expand Down
4 changes: 2 additions & 2 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{

const PLUGIN_ID = "Gritsenko_Spine";
const PLUGIN_VERSION = "1.12.0";
const PLUGIN_VERSION = "1.12.1";
const PLUGIN_CATEGORY = "general";

const PLUGIN_CLASS = SDK.Plugins.Gritsenko_Spine = class SpinePlugin extends SDK.IPluginBase {
Expand All @@ -15,7 +15,7 @@
this._info.SetDescription(lang(".description"));
this._info.SetVersion(PLUGIN_VERSION);
this._info.SetCategory(PLUGIN_CATEGORY);
this._info.SetAuthor("Gritsenko");
this._info.SetAuthor("Gritsenko and Mikal");
this._info.SetHelpUrl(lang(".help-url"));
this._info.SetPluginType("world"); // mark as world plugin, which can draw
this._info.SetIsResizable(true); // allow to be resized
Expand Down

0 comments on commit e2694c5

Please sign in to comment.