duplicateDraw()

Hello,
I am trying to understand some processing 2 existing code. I run into
duplicateDraw();
This does not seem to appear in the reference. Can anyone help me figure out what it does?
I thank you in advance
piscvau

Could you post the code, it might help.

Here is a partial copy of the code:
void superbaReadPatternFromScreen(int offset) {
// moveRowInGUI(); ??
duplicateDraw();
loadPixels();

myPattern = “”;

I doubt this might help. The complete code is available here: https://github.com/knitty/gui.
The duplicateDraw() is in the tab kmsuperbasinger.
I thank you very much for your help.
piscvau

Found the solution. It is defined somewhere in the code in another tab!..

:joy: I had a feeling it might be that!

Very descriptive function name but unfortunately it didn’t help at the end. Or maybe it did?

Please remember to format your code when posting in the forum. You should be able to find instructions on sticky tab in the main page. If not clear, please ask.

Kf