@plattar/plattar-ar-adapter 1.168.1 → 1.168.2
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.
- package/build/es2015/plattar-ar-adapter.js +6 -3
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +5 -2
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/embed/controllers/configurator-controller.js +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1636,7 +1636,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1636
1636
|
value: function () {
|
|
1637
1637
|
var _startRenderer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
1638
1638
|
var _this16 = this;
|
|
1639
|
-
var sceneID, configState, dState, product, controller, width, height, server, viewer, showAR, showUI;
|
|
1639
|
+
var sceneID, configState, dState, product, controller, width, height, server, viewer, showAR, showUI, encodedState;
|
|
1640
1640
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
1641
1641
|
while (1) switch (_context8.prev = _context8.next) {
|
|
1642
1642
|
case 0:
|
|
@@ -1700,7 +1700,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1700
1700
|
showAR = this.getAttribute("show-ar");
|
|
1701
1701
|
showUI = this.getAttribute("show-ui");
|
|
1702
1702
|
if (configState) {
|
|
1703
|
-
|
|
1703
|
+
encodedState = configState.state.encode();
|
|
1704
|
+
if (encodedState.length < 6000) {
|
|
1705
|
+
viewer.setAttribute("config-state", configState.state.encode());
|
|
1706
|
+
}
|
|
1704
1707
|
}
|
|
1705
1708
|
if (showAR) {
|
|
1706
1709
|
viewer.setAttribute("show-ar", showAR);
|
|
@@ -4250,7 +4253,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4250
4253
|
Object.defineProperty(exports, "__esModule", {
|
|
4251
4254
|
value: true
|
|
4252
4255
|
});
|
|
4253
|
-
exports["default"] = "1.168.
|
|
4256
|
+
exports["default"] = "1.168.2";
|
|
4254
4257
|
}, {}],
|
|
4255
4258
|
17: [function (require, module, exports) {
|
|
4256
4259
|
"use strict";
|