增加webworker停止
This commit is contained in:
parent
3c9f448419
commit
b5a822afea
@ -197,7 +197,7 @@ export function JLmapDriving(dom, data, skinCode,storemod) {
|
|||||||
renderercctv.render(scene,cameracctv);
|
renderercctv.render(scene,cameracctv);
|
||||||
}
|
}
|
||||||
//相机按键位移
|
//相机按键位移
|
||||||
controls3.update();
|
// controls3.update();
|
||||||
delta = clock.getDelta();
|
delta = clock.getDelta();
|
||||||
for (let i=mixers.length-1; i>=0; i--) {
|
for (let i=mixers.length-1; i>=0; i--) {
|
||||||
mixers[i].update( delta );
|
mixers[i].update( delta );
|
||||||
@ -281,6 +281,7 @@ export function JLmapDriving(dom, data, skinCode,storemod) {
|
|||||||
scope.actions = null;
|
scope.actions = null;
|
||||||
scope.Subscribe = null;
|
scope.Subscribe = null;
|
||||||
sound.stop();
|
sound.stop();
|
||||||
|
scope.webwork.terminate();
|
||||||
// console.log(scope);
|
// console.log(scope);
|
||||||
// scope = null;
|
// scope = null;
|
||||||
};
|
};
|
||||||
|
@ -58,7 +58,7 @@ let defaultsuidao = {
|
|||||||
deviceType:"suidao",
|
deviceType:"suidao",
|
||||||
type:"suidao",
|
type:"suidao",
|
||||||
picUrl:"",
|
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://test.joylink.club/oss/models/suidao/suidao.FBX
|
||||||
//https://joylink.club/oss/models/suidao/suidao.FBX
|
//https://joylink.club/oss/models/suidao/suidao.FBX
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user