◐ Shell
clean mode source ↗

Make color, fill, stroke et al. thread-safe: #3077 by GKFX · Pull Request #4774 · processing/processing

Expand Up @@ -2460,8 +2460,8 @@ protected void strokeImpl() {

@Override protected void strokeFromCalc() { super.strokeFromCalc(); protected void strokeFromCalc(float[] c) { super.strokeFromCalc(c); strokeColorObject = new Color(strokeColor, true); strokeGradient = false; } Expand All @@ -2476,8 +2476,8 @@ protected void strokeFromCalc() {

@Override protected void tintFromCalc() { super.tintFromCalc(); protected void tintFromCalc(float[] c) { super.tintFromCalc(c); // TODO actually implement tinted images tintColorObject = new Color(tintColor, true); } Expand All @@ -2492,8 +2492,8 @@ protected void tintFromCalc() {

@Override protected void fillFromCalc() { super.fillFromCalc(); protected void fillFromCalc(float[] c) { super.fillFromCalc(c); fillColorObject = new Color(fillColor, true); fillGradient = false; } Expand Down