Fix T51998: Anim player uses 100% CPU
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jul 2017 07:37:00 +0000 (17:37 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jul 2017 07:37:00 +0000 (17:37 +1000)
commit910ab14145e6ec329e5bfffbc81dbe311f810e42
tree27ac04322d7168fcc8c11e74abc1738e6ba47ced
parent2c10e8a3cfff3cc3c12b0359bbfc11c0a7eadecc
Fix T51998: Anim player uses 100% CPU

The loop running with no events didn't sleep.
Now wait for events when paused.
source/blender/windowmanager/intern/wm_playanim.c