/** * Override repaints and forward them to the cameras that are viewing this * layer. * * @param localBounds bounds flagged as needing repainting * @param repaintSource the source of the repaint notification */ public void repaintFrom(final PBounds localBounds, final PNode repaintSource) { if (repaintSource != this) { localToParent(localBounds); } notifyCameras(localBounds); if (getParent() != null) { getParent().repaintFrom(localBounds, repaintSource); } }