deeptwins-engine-3d 0.1.51 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -396,6 +396,12 @@ var ModelRoamRealTime = /*#__PURE__*/function () {
|
|
|
396
396
|
}, this.modelOptions));
|
|
397
397
|
case 4:
|
|
398
398
|
model = _context.sent;
|
|
399
|
+
if (!(this.status === 'destroy')) {
|
|
400
|
+
_context.next = 7;
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
403
|
+
return _context.abrupt("return");
|
|
404
|
+
case 7:
|
|
399
405
|
this.modelLayer = this.getMap().scene.primitives.add(model);
|
|
400
406
|
|
|
401
407
|
// 开启动画
|
|
@@ -411,7 +417,7 @@ var ModelRoamRealTime = /*#__PURE__*/function () {
|
|
|
411
417
|
multiplier: 2
|
|
412
418
|
});
|
|
413
419
|
});
|
|
414
|
-
case
|
|
420
|
+
case 9:
|
|
415
421
|
case "end":
|
|
416
422
|
return _context.stop();
|
|
417
423
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -61,11 +61,11 @@ DEEP_TWINS_BASE_URL && (window.CESIUM_BASE_URL = DEEP_TWINS_BASE_URL);
|
|
|
61
61
|
// 全局加载css
|
|
62
62
|
loadCss(Cesium.buildModuleUrl('Widgets/widgets.css'));
|
|
63
63
|
// 打印版本信息
|
|
64
|
-
console.log('DeepTwinsEngine3D Version:', "0.1.
|
|
64
|
+
console.log('DeepTwinsEngine3D Version:', "0.1.52");
|
|
65
65
|
export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
|
|
66
66
|
_classCallCheck(this, DeepTwinsEngine3D);
|
|
67
67
|
});
|
|
68
|
-
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.
|
|
68
|
+
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.52");
|
|
69
69
|
_defineProperty(DeepTwinsEngine3D, "Map", Map);
|
|
70
70
|
_defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
|
|
71
71
|
_defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);
|