Skip to content

Commit

Permalink
Fix EV_sync_update.fps_control issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ButzYung committed Dec 24, 2021
1 parent 8e94265 commit 159a6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TEMP/DEMO/miku00/animate.js
Expand Up @@ -2971,7 +2971,7 @@ window.addEventListener("SA_AR_onARFrame", (function () {
var update_frame = false
return function () {
var camera = System._browser.camera
if (self.PoseAT || MMD_SA.WebXR.session || !camera.initialized || (!camera.facemesh._can_skip_RAF && !camera.poseNet.enabled) || camera._needs_RAF) {
if (self.PoseAT || !camera.initialized || (!camera.facemesh._can_skip_RAF && !camera.poseNet.enabled) || camera._needs_RAF || (RAF_timestamp_delta > 25)) {
camera._needs_RAF = false
update_frame = true
}
Expand Down

0 comments on commit 159a6d6

Please sign in to comment.