diff --git a/android/core/src/processing/opengl/PShapeOpenGL.java b/android/core/src/processing/opengl/PShapeOpenGL.java index dac2201d8..e615d04dd 100644 --- a/android/core/src/processing/opengl/PShapeOpenGL.java +++ b/android/core/src/processing/opengl/PShapeOpenGL.java @@ -515,6 +515,9 @@ public class PShapeOpenGL extends PShape { PShape.copyPath(src, dest); } dest.setName(src.getName()); + dest.width = src.width; + dest.height = src.height; + dest.depth = src.depth; return dest; } @@ -536,6 +539,8 @@ public class PShapeOpenGL extends PShape { PShape.copyPath(src, dest); } dest.setName(src.getName()); + dest.width = src.width; + dest.height = src.height; return dest; } diff --git a/core/src/processing/opengl/PShapeOpenGL.java b/core/src/processing/opengl/PShapeOpenGL.java index dac2201d8..e615d04dd 100644 --- a/core/src/processing/opengl/PShapeOpenGL.java +++ b/core/src/processing/opengl/PShapeOpenGL.java @@ -515,6 +515,9 @@ public class PShapeOpenGL extends PShape { PShape.copyPath(src, dest); } dest.setName(src.getName()); + dest.width = src.width; + dest.height = src.height; + dest.depth = src.depth; return dest; } @@ -536,6 +539,8 @@ public class PShapeOpenGL extends PShape { PShape.copyPath(src, dest); } dest.setName(src.getName()); + dest.width = src.width; + dest.height = src.height; return dest; }