|
@@ -159,6 +159,8 @@ function getsqlData(sdkInstance, uwbInstance) {
|
|
|
texture = textOffline;
|
|
|
break;
|
|
|
}
|
|
|
+ } else {
|
|
|
+ texture = textOffline;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -172,6 +174,7 @@ function getsqlData(sdkInstance, uwbInstance) {
|
|
|
// sprite.scale.set(100, 100, 1);
|
|
|
sprite.position.set(x, y + 10, z);
|
|
|
|
|
|
+ console.log('添加模型和水滴1111')
|
|
|
sdkInstance.sceneRenderer.scene.add(childMeshTmp)
|
|
|
sdkInstance.sceneRenderer.scene.add(sprite)
|
|
|
}
|
|
@@ -296,6 +299,8 @@ function getsqlData(sdkInstance, uwbInstance) {
|
|
|
texture = textOffline;
|
|
|
break;
|
|
|
}
|
|
|
+ } else {
|
|
|
+ texture = textOffline;
|
|
|
}
|
|
|
|
|
|
// 创建精灵对象
|
|
@@ -307,7 +312,7 @@ function getsqlData(sdkInstance, uwbInstance) {
|
|
|
// sprite.scale.set(100, 100, 1);
|
|
|
sprite.userData = customData;
|
|
|
sprite.position.set(x, y + 10, z);
|
|
|
-
|
|
|
+ console.log('添加模型和水滴2222')
|
|
|
sdkInstance.sceneRenderer.scene.add(childMeshTmp)
|
|
|
sdkInstance.sceneRenderer.scene.add(sprite)
|
|
|
}
|