Hi all,
I am trying to allow unmanaged code (via ofxPython) to my application, that involves arbitrary user-gerenated sequences of drawing commands, such as ofPushMatrix, ofPopMatrix etc…
I am having the trouble that when the user leave unmatched ofPushMatrix / ofPopMatrix, all the program enters in a wrong state and can’t draw anything.
Is there any way to save and restore the matrix stack, so I don’t care if there are unmatched matrix push/pop operations?