more linting, lots of undefined vars or unused vars
This commit is contained in:
@@ -13,6 +13,8 @@ AFRAME.registerComponent('materials', {
|
||||
},
|
||||
|
||||
update: function () {
|
||||
this.el.object3D.traverse(o => o.material = this.system[this.data]);
|
||||
this.el.object3D.traverse(o => {
|
||||
o.material = this.system[this.data]
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user