@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
|
@@ -1180,7 +1180,10 @@ class ConfiguratorController extends plattar_controller_1.PlattarController {
|
|
|
1180
1180
|
const showAR = this.getAttribute("show-ar");
|
|
1181
1181
|
const showUI = this.getAttribute("show-ui");
|
|
1182
1182
|
if (configState) {
|
|
1183
|
-
|
|
1183
|
+
let encodedState = configState.state.encode();
|
|
1184
|
+
if (encodedState.length < 6000) {
|
|
1185
|
+
viewer.setAttribute("config-state", configState.state.encode());
|
|
1186
|
+
}
|
|
1184
1187
|
}
|
|
1185
1188
|
if (showAR) {
|
|
1186
1189
|
viewer.setAttribute("show-ar", showAR);
|
|
@@ -2881,7 +2884,7 @@ exports.Util = Util;
|
|
|
2881
2884
|
},{}],16:[function(require,module,exports){
|
|
2882
2885
|
"use strict";
|
|
2883
2886
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2884
|
-
exports.default = "1.168.
|
|
2887
|
+
exports.default = "1.168.2";
|
|
2885
2888
|
|
|
2886
2889
|
},{}],17:[function(require,module,exports){
|
|
2887
2890
|
"use strict";
|