architwin 1.13.3 → 1.13.4

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.
@@ -175,7 +175,7 @@ function toggleDisplayPane(targetId) {
175
175
  if (paneId === 'at-object-list-pane') {
176
176
  const objectsInSpace = get3DXObjects();
177
177
  const objectComponents = objectsInSpace.map(obj => obj.component);
178
- const spaceObjects = objectsInSpace.filter(obj => obj.type !== 'POLYGON' && obj.type !== 'BASEPOINT').map(obj => obj.object);
178
+ const spaceObjects = objectsInSpace.filter(obj => obj.type !== 'POLYGON' && obj.type !== 'BASEPOINT' && obj.type !== "PATH").map(obj => obj.object);
179
179
  renderObjectCards(spaceObjects, objectComponents);
180
180
  if (targetId === 'at-cancel-library-btn') {
181
181
  yield cancelModelPlacement();
@@ -1500,7 +1500,7 @@ function handleSetModelsView() {
1500
1500
  modelsListViewBtn.classList.remove('at_ghost_active');
1501
1501
  modelsView = 'card';
1502
1502
  log.info("modelCardViewBtn", modelsView);
1503
- const spaceObjects = _3DXObjects.filter(obj => obj.type !== 'POLYGON' && obj.type !== "BASEPOINT").map(obj => obj.object);
1503
+ const spaceObjects = _3DXObjects.filter(obj => obj.type !== 'POLYGON' && obj.type !== "BASEPOINT" && obj.type !== "PATH").map(obj => obj.object);
1504
1504
  const objectComponents = _3DXObjects.map(obj => obj.component);
1505
1505
  renderObjectCards(spaceObjects, objectComponents);
1506
1506
  });
@@ -1509,7 +1509,7 @@ function handleSetModelsView() {
1509
1509
  modelsCardViewBtn.classList.remove('at_ghost_active');
1510
1510
  modelsView = 'list';
1511
1511
  log.info("modelListViewBtn", modelsView);
1512
- const spaceObjects = _3DXObjects.filter(obj => obj.type !== "POLYGON" && obj.type !== "BASEPOINT").map(obj => obj.object);
1512
+ const spaceObjects = _3DXObjects.filter(obj => obj.type !== "POLYGON" && obj.type !== "BASEPOINT" && obj.type !== "PATH").map(obj => obj.object);
1513
1513
  const objectComponents = _3DXObjects.map(obj => obj.component);
1514
1514
  renderObjectList(spaceObjects, objectComponents);
1515
1515
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "architwin",
3
- "version": "1.13.3",
3
+ "version": "1.13.4",
4
4
  "description": "ArchiTwin Library for Matterport",
5
5
  "main": "./lib/architwin.js",
6
6
  "types": "./lib/architwin.d.ts",