mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 11:54:36 +00:00
Fixed Generic tag editor - GRADIENT filters fields
Disallow manually adding items to convolution matrix
This commit is contained in:
@@ -48,4 +48,6 @@ public @interface SWFType {
|
||||
|
||||
//Count to add to countField
|
||||
int countAdd() default 0;
|
||||
|
||||
boolean canAdd() default true;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ public class CONVOLUTIONFILTER extends FILTER {
|
||||
/**
|
||||
* Matrix values
|
||||
*/
|
||||
@SWFType(BasicType.FLOAT)
|
||||
@SWFType(value = BasicType.FLOAT, countField = "matrixX * matrixY", canAdd = false)
|
||||
public float[] matrix = new float[] {
|
||||
0, 0, 0,
|
||||
0, 1, 0,
|
||||
|
||||
Reference in New Issue
Block a user