mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
Fixes #1641
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user