def refresh_scene(self):
    self._cached_scene = None
    if self._is_batch:
        self._batch_scene_updated = True
    else:
        self._send_scene()
def refresh_scene(self):
    self._cached_scene = None
    if self._is_batch:
        self._batch_scene_updated = True
    else:
        self._send_scene()