No longer need to check _slim

It's a property with false as the default value within the  SkinObject class
This commit is contained in:
Sean Boult 2018-07-20 22:41:12 -05:00
parent b2932c96bb
commit 3feb9cf9f6
1 changed files with 3 additions and 5 deletions

View File

@ -340,7 +340,7 @@ class SkinObject extends THREE.Group {
this.leftLeg.position.x = 2;
this.add(this.leftLeg);
this.slim = false;
// this.slim = false;
}
get slim() {
@ -348,11 +348,9 @@ class SkinObject extends THREE.Group {
}
set slim(value) {
if (this._slim !== value) {
this._slim = value;
this.modelListeners.forEach(listener => listener());
}
}
}
class CapeObject extends THREE.Group {