Using Yield in Panda

https://discourse.panda3d.org/viewtopic.php?p=24609 :smiley: