Removed mvp as the plugin can use a single instance

This commit is contained in:
Richard Davey 2018-10-25 14:14:04 +01:00
parent bed1141d9a
commit ff03c4389c

View file

@ -13,7 +13,6 @@ var ComponentsTransform = require('../../../../src/gameobjects/components/Transf
var ComponentsVisible = require('../../../../src/gameobjects/components/Visible');
var GameObject = require('../../../../src/gameobjects/GameObject');
var SpineGameObjectRender = require('./SpineGameObjectRender');
var Matrix4 = require('../../../../src/math/Matrix4');
/**
* @classdesc
@ -48,10 +47,10 @@ var SpineGameObject = new Class({
this.runtime = plugin.getRuntime();
this.mvp = new Matrix4();
GameObject.call(this, scene, 'Spine');
this.drawDebug = false;
var data = this.plugin.createSkeleton(key);
this.skeletonData = data.skeletonData;