diff --git a/doc/license.html b/doc/license.html index 7096ec6d9..71ae7abe0 100644 --- a/doc/license.html +++ b/doc/license.html @@ -5,7 +5,7 @@

THERE IS NO UNDO BUTTON!
SET UP A BACKUP OF YOUR DATABASE


-Version: 3.240819 (19-Aug-2024)
+Version: 3.240822 (22-Aug-2024)
COPYRIGHT © 2000-2024 USC & McGill University.
diff --git a/doc/version.txt b/doc/version.txt index 9219f80ac..d9a196647 100644 --- a/doc/version.txt +++ b/doc/version.txt @@ -1,2 +1,2 @@ % Brainstorm -% v. 3.240819 (19-Aug-2024) \ No newline at end of file +% v. 3.240822 (22-Aug-2024) \ No newline at end of file diff --git a/toolbox/gui/panel_coordinates.m b/toolbox/gui/panel_coordinates.m index b4e923e79..3286d250a 100644 --- a/toolbox/gui/panel_coordinates.m +++ b/toolbox/gui/panel_coordinates.m @@ -466,6 +466,9 @@ function SetSelectionState(isSelected) end % === CHECK SURFACE TYPE === + if isCentroid + SurfacesType = 'Other'; + end % Keep only surfaces that are of the required type if ~isempty(SurfacesType) iAcceptableTess = find(strcmpi({TessInfo.Name}, SurfacesType)); diff --git a/toolbox/gui/panel_surface.m b/toolbox/gui/panel_surface.m index 29d63044e..f4d9f8faa 100644 --- a/toolbox/gui/panel_surface.m +++ b/toolbox/gui/panel_surface.m @@ -420,7 +420,7 @@ function SliderCallback(hObject, event, target) CtFile = []; MeshFile = []; for i=1:length(sSubject.Anatomy) - if ~isempty(regexp(sSubject.Anatomy(i).FileName, 'CT', 'match')) + if ~isempty(regexp(sSubject.Anatomy(i).FileName, '_volct', 'match')) CtFile = sSubject.Anatomy(i).FileName; end end @@ -538,7 +538,7 @@ function SliderCallback(hObject, event, target) sSubject = bst_get('Subject', SubjectFile); CtFile = []; for i=1:length(sSubject.Anatomy) - if ~isempty(regexp(sSubject.Anatomy(i).FileName, 'CT', 'match')) + if ~isempty(regexp(sSubject.Anatomy(i).FileName, '_volct', 'match')) CtFile = sSubject.Anatomy(i).FileName; end end