mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Renamed stroke perspective hint
This commit is contained in:
@@ -36,7 +36,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
|
||||
|
||||
public PGraphics2D() {
|
||||
super();
|
||||
hints[ENABLE_PERSPECTIVE_CORRECTED_STROKE] = false;
|
||||
hints[ENABLE_STROKE_PERSPECTIVE] = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
|
||||
|
||||
|
||||
public void hint(int which) {
|
||||
if (which == ENABLE_PERSPECTIVE_CORRECTED_STROKE) {
|
||||
if (which == ENABLE_STROKE_PERSPECTIVE) {
|
||||
showWarning("2D lines cannot be perspective-corrected.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user