mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 22:32:06 +00:00
Fixed Convolution matrix filter display and editing
This commit is contained in:
@@ -2219,11 +2219,9 @@ public class SWFInputStream implements AutoCloseable {
|
||||
ret.matrixY = readUI8("matrixY");
|
||||
ret.divisor = readFLOAT("divisor");
|
||||
ret.bias = readFLOAT("bias");
|
||||
ret.matrix = new float[ret.matrixX][ret.matrixY];
|
||||
for (int x = 0; x < ret.matrixX; x++) {
|
||||
for (int y = 0; y < ret.matrixY; y++) {
|
||||
ret.matrix[x][y] = readFLOAT("cell");
|
||||
}
|
||||
ret.matrix = new float[ret.matrixX * ret.matrixY];
|
||||
for (int i = 0; i < ret.matrixX * ret.matrixY; i++) {
|
||||
ret.matrix[i] = readFLOAT("cell");
|
||||
}
|
||||
ret.defaultColor = readRGBA("defaultColor");
|
||||
ret.reserved = (int) readUB(6, "reserved");
|
||||
|
||||
Reference in New Issue
Block a user