Remove unneccessary else if

This commit is contained in:
Dávid Szabó 2016-09-23 13:33:04 +02:00 committed by Julian Descottes
parent 9c96c7eaf2
commit 6ea9c248d8

View File

@ -66,10 +66,6 @@
var cacheKey = frame.getHash();
if (cache[cacheKey]) {
processedFrame = cache[cacheKey];
} else if (frame instanceof pskl.model.frame.RenderedFrame) {
// Cannot use 2nd level cache with rendered frames
processedFrame = this.frameProcessor(frame);
cache[cacheKey] = processedFrame;
} else {
processedFrame = this.frameProcessor(frame);
cache[cacheKey] = processedFrame;