Addressing MacOS's so-called "App Nap"
MacOS will throttle the CPU usage of application windows that do not have the focus. This is called "App Nap." This can cause a problem for py5 Sketches because the frame rate is throttled. About a minute after the Sketch window loses focus, the frame rate will drop significantly. The Sketch will keep running, but much slower.
This release fixes this problem by enabling py5 to communicate with MacOS and disable App Nap for its Sketch windows.
Other Bug Fixes and Small Improvements
- #778 Fixed a shortcoming in py5's trimesh integration. Many thanks to
@villares for finding this bug! - Fix the method signature for
begin_closed_shape(). Previously the signature incorrectly implied that this method accepts a shape type parameter.
I also made some small adjustments to the Live Coding functionality to support the upcoming Posix Renderer... Wait, what is the Posix Renderer? You'll find out soon. Stay tuned!