controlP5 and pushMatrix() error
in
Contributed Library Questions
•
1 year ago
Dear All,
I've been using the controlP5 library for a while now, and am a great fan of it.
As I'm working on a large user interface I have a growing number of elements from controlP5.
This morning, when I added an additional dropdownlist and textfield, I received the following error at runtime:
"Exception in thread "Animation Thread" java.lang.RuntimeException: pushMatrix() cannot use push more than 32 times"
As my code is terribly long, I have not included it here.
However, I've played around a bit by commenting out some items and noticed that after a certain amount of controlP5 objects, this error is thrown. I'm assuming there is a pushMatrix() function that is not terminated with a popMatrix in the library.
Can anyone help me to resolve this issue?
Or does anyone have a work-around for this?
Thanks in advance,
Remco
1