Skip to content
Snippets Groups Projects
Commit bdd92bcc authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: add surface parcellation to nehuba configs

parent 1a2bfa5d
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,9 @@ function getNehubaConfig(space: TSpaceFull) { ...@@ -84,6 +84,9 @@ function getNehubaConfig(space: TSpaceFull) {
? {"cutOff":150000 * scale } ? {"cutOff":150000 * scale }
: {"cutOff":200000 * scale,"color":[0.5,0,0,0.15] } : {"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 { return {
"configName": "", "configName": "",
"globals": { "globals": {
...@@ -134,7 +137,8 @@ function getNehubaConfig(space: TSpaceFull) { ...@@ -134,7 +137,8 @@ function getNehubaConfig(space: TSpaceFull) {
"mesh": { "mesh": {
"backFaceColor": backgrd, "backFaceColor": backgrd,
"removeBasedOnNavigation": true, "removeBasedOnNavigation": true,
"flipRemovedOctant": true "flipRemovedOctant": true,
surfaceParcellation
}, },
"centerToOrigin": true, "centerToOrigin": true,
"drawSubstrates": drawSubstrates, "drawSubstrates": drawSubstrates,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment