FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.49k stars 340 forks source link

Optimize PC resources consumption in the editor #520

Closed mrDIMAS closed 10 months ago

mrDIMAS commented 10 months ago

This PR significantly reduces PC resources consumption by the editor by stopping its update loop when there's in messages from the OS or there's no user actions. Preview mode keeps the editor updating every frame, which is acceptable since it is not used very often.

mrDIMAS commented 10 months ago

Fixes #360.