Skip to content

Commit

Permalink
Fix getMesh() for atlases, can now use atlas and simple textures from…
Browse files Browse the repository at this point in the history
… the same API
  • Loading branch information
deathcap committed Dec 12, 2013
1 parent b9e23e2 commit 31823dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Texture.prototype.load = function(names, done) {
};

Texture.prototype.getMesh = function() {
return this.materials.material;
return this.material;
}

Texture.prototype.pack = function(name, done) {
Expand Down

0 comments on commit 31823dd

Please sign in to comment.