Fix rendering performance issue (double frame request)

This commit is contained in:
Tanish Manku committed 2025-02-07 00:41:52 -08:00
1 parent 293e0f98cb
commit 2cdde78bfb
1 file changed
-7
-7
View File
@@ -1155,13 +1155,6 @@ class Editor {
this.last_scrub = this.timeline.scrubber_frame_position;
this.stats.update();
setTimeout(
() => {
requestAnimationFrame(this.updateLoop.bind(this));
},
1000 / (this.cap_fps * 2),
); // Get the most FPS we can out of the renderer.
}
// Basicly Unity 3D's update loop.