Closed
Description
In GitLab by @nking07049925 on Oct 5, 2020, 12:11
Expected Behavior
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
Metadata
Metadata
Assignees
Labels
No labels