diff --git a/src/util/pureConstant.service.ts b/src/util/pureConstant.service.ts index 411066e276f0fe60a54b59ad0f22ca1e5281986c..f15f92263977965fadb64d168fcab5c81a9fd597 100644 --- a/src/util/pureConstant.service.ts +++ b/src/util/pureConstant.service.ts @@ -84,6 +84,9 @@ function getNehubaConfig(space: TSpaceFull) { ? {"cutOff":150000 * scale } : {"cutOff":200000 * scale,"color":[0.5,0,0,0.15] } + // enable surface parcellation + // otherwise, on segmentation selection, the unselected meshes will also be invisible + const surfaceParcellation = space.id === 'minds/core/referencespace/v1.0.0/7f39f7be-445b-47c0-9791-e971c0b6d992' return { "configName": "", "globals": { @@ -134,7 +137,8 @@ function getNehubaConfig(space: TSpaceFull) { "mesh": { "backFaceColor": backgrd, "removeBasedOnNavigation": true, - "flipRemovedOctant": true + "flipRemovedOctant": true, + surfaceParcellation }, "centerToOrigin": true, "drawSubstrates": drawSubstrates,