Never useNearest on distorted vector skins

This commit is contained in:
adroitwhiz 2019-04-20 07:59:09 -04:00
parent 590c2ca084
commit 7599a82406

View File

@ -431,6 +431,11 @@ class Drawable {
return true;
}
// If the effect bits for mosaic, pixelate, whirl, or fisheye are set, use linear
if (this._effectBits & 0b0011110) {
return false;
}
// We can't use nearest neighbor unless we are a multiple of 90 rotation
if (this._direction % 90 !== 0) {
return false;