Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
9bef909f27
@ -200,6 +200,7 @@ export function Jl3dfaultdevice(dom,group,token,skinCode) {
|
|||||||
if (data.type == "room") {
|
if (data.type == "room") {
|
||||||
scope.resetmodel();
|
scope.resetmodel();
|
||||||
scope.showmodel = scope.modelmanager.roommodel.mesh;
|
scope.showmodel = scope.modelmanager.roommodel.mesh;
|
||||||
|
scope.showmodel.code = data.code;
|
||||||
scope.scene.add(scope.showmodel);
|
scope.scene.add(scope.showmodel);
|
||||||
scope.camera.position.set(5, 7, -9);
|
scope.camera.position.set(5, 7, -9);
|
||||||
scope.controls.target = new THREE.Vector3(4, 6, -8);
|
scope.controls.target = new THREE.Vector3(4, 6, -8);
|
||||||
@ -366,11 +367,12 @@ export function Jl3dfaultdevice(dom,group,token,skinCode) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.resetmodel = function(){
|
this.resetmodel = function(){
|
||||||
|
if(scope.nowobject){
|
||||||
if(scope.nowobject.animacode){
|
if(scope.nowobject.animacode){
|
||||||
scope.animastats = false;
|
scope.animastats = false;
|
||||||
moveanima.setplaylist(moveanima.animatelist[scope.nowobject.animacode+"fuwei"],true);
|
moveanima.setplaylist(moveanima.animatelist[scope.nowobject.animacode+"fuwei"],true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.animationmsgshowon = function(nowobject){
|
this.animationmsgshowon = function(nowobject){
|
||||||
|
Loading…
Reference in New Issue
Block a user