Set IFCSPACES to visible per default when creating viewpoints with XEOKIT

pull/8264/head
Wieland Lindenthal 5 years ago
parent 755b6cb365
commit b40cd43d2b
  1. 2
      frontend/src/app/modules/bim/ifc_models/ifc-viewer/ifc-viewer.service.ts

@ -69,7 +69,7 @@ export class IFCViewerService extends ViewerBridgeService {
} }
public getViewpoint():Promise<BcfViewpointInterface> { public getViewpoint():Promise<BcfViewpointInterface> {
const viewpoint = this.viewer.saveBCFViewpoint({}); const viewpoint = this.viewer.saveBCFViewpoint({ spacesVisible: true });
// The backend rejects viewpoints with bitmaps // The backend rejects viewpoints with bitmaps
delete viewpoint.bitmaps; delete viewpoint.bitmaps;

Loading…
Cancel
Save