mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
blendMode() should be a warning, not fatal
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/*
|
||||
Part of the Processing project - http://processing.org
|
||||
|
||||
Copyright (c) 2005-11 Ben Fry and Casey Reas
|
||||
Copyright (c) 2005-12 Ben Fry and Casey Reas
|
||||
Copyright (c) 2012-18 The Processing Foundation
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
@@ -551,8 +552,8 @@ public class PGraphicsPDF extends PGraphicsJava2D {
|
||||
//
|
||||
|
||||
protected void blendModeImpl() {
|
||||
if (blendMode != BLEND) {
|
||||
nope("blendMode");
|
||||
if (blendMode != REPLACE && blendMode != BLEND) {
|
||||
showMissingWarning("blendMode");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user