You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling setAttrib() on PShapeOpenGL between beginShape() and endShape() prints a warning setAttrib() can only be called outside beginShape() and endShape()
Current Behavior
Calling setAttrib() on PShapeOpenGL between beginShape and endShape prints a warning setNormal() can only be called outside beginShape() and endShape()
Possible Causes / Solutions
Replace PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setNormal()"); with PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setAttrib()"); for all overloads of setAttrib() in PShapeOpenGL.java