mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Remove unneccessary else if
This commit is contained in:
parent
9c96c7eaf2
commit
6ea9c248d8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user