mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Merge pull request #3710 from JakubValtar/fx-matrix-stack
FX - fix transformation stack NPE
This commit is contained in:
@@ -1404,7 +1404,7 @@ public class PGraphicsFX2D extends PGraphics {
|
||||
throw new RuntimeException("pushMatrix() cannot use push more than " +
|
||||
transformStack.length + " times");
|
||||
}
|
||||
context.getTransform(transformStack[transformCount]);
|
||||
transformStack[transformCount] = context.getTransform(transformStack[transformCount]);
|
||||
transformCount++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user