Skip to content

Commit

Permalink
fix(models): hide/disable point-cloud viewer features for prod deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Nov 8, 2022
1 parent 3fd9f35 commit 5ca36d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions src/components/specific/models/models-manager/ModelsManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,15 @@ const tabsDef = [
icon: "filePdfPolychrome",
modelTypes: [MODEL_TYPE.PDF, MODEL_TYPE.META_BUILDING],
component: "PDFManager"
},
{
id: "point-cloud",
label: "Point Cloud",
img: "/static/point-cloud-file.svg",
modelTypes: [MODEL_TYPE.POINT_CLOUD],
component: "PointCloudManager"
}
// TODO: uncomment this when point-cloud viewer is ready
// {
// id: "point-cloud",
// label: "Point Cloud",
// img: "/static/point-cloud-file.svg",
// modelTypes: [MODEL_TYPE.POINT_CLOUD],
// component: "PointCloudManager"
// }
];
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/config/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const PLUGINS_CONFIG = {
merge: true,
export: true
},
tileset: true,
tileset: false, // TODO: set this to true when point-cloud viewer is ready
"tileset-viewer-parameters": true,
"viewer2d-background": true,
viewer3d: {
Expand Down

0 comments on commit 5ca36d1

Please sign in to comment.