If you run the attached test program and press the 'c' key to toggle the camera on the scene, the scene should be fully repainted with the new camera. However, if dirtyopts are enabled (which they are by default), the scene will not repaint.
If you run it with dirtyopts disabled, or if you do something else to force a repaint (e.g., resize the window), then it will redraw correctly.
If you run it with dirtyopts disabled, or if you do something else to force a repaint (e.g., resize the window), then it will redraw correctly.