增加webworker停止

This commit is contained in:
sunzhenyu 2019-10-21 17:59:48 +08:00
parent 3c9f448419
commit b5a822afea
4 changed files with 3 additions and 2 deletions

View File

@ -197,7 +197,7 @@ export function JLmapDriving(dom, data, skinCode,storemod) {
renderercctv.render(scene,cameracctv);
}
//相机按键位移
controls3.update();
// controls3.update();
delta = clock.getDelta();
for (let i=mixers.length-1; i>=0; i--) {
mixers[i].update( delta );
@ -281,6 +281,7 @@ export function JLmapDriving(dom, data, skinCode,storemod) {
scope.actions = null;
scope.Subscribe = null;
sound.stop();
scope.webwork.terminate();
// console.log(scope);
// scope = null;
};

View File

@ -58,7 +58,7 @@ let defaultsuidao = {
deviceType:"suidao",
type:"suidao",
picUrl:"",
assetUrl:"../../static/model/suidao/suidao.FBX"
assetUrl:"https://test.joylink.club/oss/models/suidao/suidao.FBX"
}
//https://test.joylink.club/oss/models/suidao/suidao.FBX
//https://joylink.club/oss/models/suidao/suidao.FBX

Binary file not shown.

Binary file not shown.