Reverted changes with strength
This actually broke DropShadow
This commit is contained in:
committed by
Joshua Granick
parent
06982a4ac2
commit
c72362f028
@@ -783,7 +783,6 @@ class ImageDataUtil {
|
||||
|
||||
var x: Int;
|
||||
var y: Int;
|
||||
if (strength != 1) {
|
||||
if (offset <= 0) {
|
||||
y = 0;
|
||||
while (y < h) {
|
||||
@@ -805,7 +804,6 @@ class ImageDataUtil {
|
||||
y -= 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
image.dirty = true;
|
||||
image.version++;
|
||||
@@ -815,7 +813,8 @@ class ImageDataUtil {
|
||||
if (imagePremultiplied) image.premultiplied = true;
|
||||
if (sourceImagePremultiplied) sourceImage.premultiplied = true;
|
||||
|
||||
return sourceImage;
|
||||
if (imgA == sourceImage.data) return sourceImage;
|
||||
return image;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user