|
@@ -353,7 +353,8 @@ export default {
|
|
|
await player.Native.Settings.set('specularIntensity', 'float', 0.64);//初始化高光强度
|
|
|
await player.Native.Model.setModelVisible(currentTargetType.value,true);
|
|
|
await player.Native.CameraAnimation.clearKeyFrame();
|
|
|
- (async()=>{
|
|
|
+ isLoaded.value=true;
|
|
|
+ setTimeout(async() => {
|
|
|
var cf = "data://models/T_02.pr";
|
|
|
await PlayerUtils.call(Native.Model.loadModel, 'IN02', cf);
|
|
|
modelLoadState['IN02']=true;
|
|
@@ -362,8 +363,7 @@ export default {
|
|
|
await PlayerUtils.call(Native.Model.loadModel, 'IN03', cf);
|
|
|
modelLoadState['IN03']=true;
|
|
|
await player.Native.Model.setModelVisible('IN03',false);
|
|
|
- isLoaded.value=true
|
|
|
- })()
|
|
|
+ }, 500);
|
|
|
}
|
|
|
//后整
|
|
|
async function loadIn05Model(Native){
|