Comment 1 for bug 729260

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: setROI updates the constant variable SCREEN

SCREEN is a CONSTANT REFERENCE a Screen object Screen(0) and not its contents (it is a convenience).

So per definition setROI() changes the region of interest of the SCREEN object.

If you do not want this, you have to qualify your Screen/Region methods with the Screen/Region object or use with: