Skip to content

Commit

Permalink
fix (bounds): update this.skeletonRenderQuality on quality change
Browse files Browse the repository at this point in the history
Required fo updating bounds also after quality change.
  • Loading branch information
MikalDev committed Jun 10, 2021
1 parent 02f8d93 commit f6e8ae3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file added dist/Spine-v1.47.2.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.47.1",
"version": "1.47.2",
"author": "Mikal and Igor Gritsenko",
"website": "https://gritsenko.github.io/c3_spine_plugin",
"documentation": "https://gritsenko.github.io/c3_spine_plugin",
Expand Down
1 change: 1 addition & 0 deletions src/c3runtime/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@

SetSkeletondataRenderQuality(renderQuality)
{
this.skeletonRenderQuality = renderQuality;
const assetManager = this._sdkType._assetManager;
const assetTag = this._sdkType._assetTag;
this._sdkType._skeletonJson.scale = renderQuality;
Expand Down
2 changes: 1 addition & 1 deletion src/c3runtime/spine-draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,6 @@ class SpineBatch {

if (!globalThis.spineBatcher)
{
console.log('[Spine] SpineBatcher init, 1.47.1');
console.log('[Spine] SpineBatcher init, 1.47.2');
globalThis.spineBatcher = new SpineBatch();
}
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const C3 = self.C3;

const PLUGIN_ID = "Gritsenko_Spine";
const PLUGIN_VERSION = "1.47.1";
const PLUGIN_VERSION = "1.47.2";
const PLUGIN_CATEGORY = "general";

const PLUGIN_CLASS = SDK.Plugins.Gritsenko_Spine = class SpinePlugin extends SDK.IPluginBase {
Expand Down

0 comments on commit f6e8ae3

Please sign in to comment.