kitchen-simulator 4.3.7 → 4.3.8

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.
@@ -105,6 +105,9 @@ var Project = /*#__PURE__*/function () {
105
105
 
106
106
  // check type of ceilHeight and make it to Number
107
107
  if (typeof sceneJSON.layers[layerID].ceilHeight !== 'number') sceneJSON.layers[layerID].ceilHeight = Number(sceneJSON.layers[layerID].ceilHeight);
108
+
109
+ // force change the [isLoadingCabinet] to [false], otherwise 3D view will be stay in loading
110
+ if (sceneJSON.isLoadingCabinet !== false) sceneJSON.isLoadingCabinet = false;
108
111
  var newScene = new Scene(sceneJSON);
109
112
  state = new State({
110
113
  scene: newScene.toJS(),
@@ -114,6 +114,9 @@ var Project = exports["default"] = /*#__PURE__*/function () {
114
114
 
115
115
  // check type of ceilHeight and make it to Number
116
116
  if (typeof sceneJSON.layers[layerID].ceilHeight !== 'number') sceneJSON.layers[layerID].ceilHeight = Number(sceneJSON.layers[layerID].ceilHeight);
117
+
118
+ // force change the [isLoadingCabinet] to [false], otherwise 3D view will be stay in loading
119
+ if (sceneJSON.isLoadingCabinet !== false) sceneJSON.isLoadingCabinet = false;
117
120
  var newScene = new _models.Scene(sceneJSON);
118
121
  state = new _models.State({
119
122
  scene: newScene.toJS(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitchen-simulator",
3
- "version": "4.3.7",
3
+ "version": "4.3.8",
4
4
  "description": "It is a kitchen simulator (self-contained micro-frontend).",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",