Fix #34421: cycles viewport render stuck with no objects in the scene.
Fix #34421: cycles viewport render stuck with no objects in the scene.

tangent-opensource/coreBlackbird,pyrochlore/cycles,pyrochlore/cycles,tangent-opensource/coreBlackbird,tangent-opensource/coreBlackbird,pyrochlore/cycles