From fd20e6da020a391af29b6dd8ce7586b2c7ec61b1 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Thu, 18 Apr 2013 18:13:33 -0400 Subject: [PATCH] caps/joins always added in retained mode --- core/src/processing/opengl/PGraphicsOpenGL.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index 335057319..a7a327d7e 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -11335,7 +11335,8 @@ public class PGraphicsOpenGL extends PGraphics { boolean noCapsJoins() { // The stroke weight is scaled so it correspons to the current // "zoom level" being applied on the geometry due to scaling: - return transformScale() * strokeWeight < PGL.MIN_CAPS_JOINS_WEIGHT; + return tess.renderMode == IMMEDIATE && + transformScale() * strokeWeight < PGL.MIN_CAPS_JOINS_WEIGHT; } float transformScale() {