diff --git a/src/textures/parsers/JSONHash.js b/src/textures/parsers/JSONHash.js index bb201531f..32c9d44bc 100644 --- a/src/textures/parsers/JSONHash.js +++ b/src/textures/parsers/JSONHash.js @@ -41,6 +41,11 @@ var JSONHash = function (texture, sourceIndex, json) for (var key in frames) { + if (!frames.hasOwnProperty(key)) + { + continue; + } + var src = frames[key]; // The frame values are the exact coordinates to cut the frame out of the atlas from