From 01f38fbb9494ea90af366fcb0bfbef8e5d72b3dd Mon Sep 17 00:00:00 2001 From: Ulrich Lackner Date: Mon, 30 Jan 2023 17:45:25 +0100 Subject: [PATCH] Group.setTransform set to false To improve performance but verify if it does not have side effects. --- .../src/main/java/org/catrobat/catroid/stage/StageListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catroid/src/main/java/org/catrobat/catroid/stage/StageListener.java b/catroid/src/main/java/org/catrobat/catroid/stage/StageListener.java index 6aa98123df8..e5f283707a0 100644 --- a/catroid/src/main/java/org/catrobat/catroid/stage/StageListener.java +++ b/catroid/src/main/java/org/catrobat/catroid/stage/StageListener.java @@ -251,6 +251,8 @@ private void createNewStage() { } stage = new Stage(viewPort, batch); + // small improvement but not sure about side effects. + stage.getRoot().setTransform(false); SensorHandler.timerReferenceValue = SystemClock.uptimeMillis(); }