Skip to content

Commit

Permalink
Removed patchUnderlay bug that would not allow patching a single hemi…
Browse files Browse the repository at this point in the history
…sphere
  • Loading branch information
alexteghipco committed Apr 19, 2022
1 parent 8a89d03 commit 1892777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/patch/patchUnderlay.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
% hemispheres
if isempty(vert2) == 1
if sum(vert1(:,3)) ~= 0
% if mean(vert1(:,1)) < 0
if mean(vert1(:,1)) < 0
%if mean(vert1(:,1)) > mean(vert2(:,1))
if mean(vert1(:,3)) < mean(vert2(:,3))
%if mean(vert1(:,3)) < mean(vert2(:,3))
brain.left.vert = vert1;
brain.left.face = face1;
else
Expand Down

0 comments on commit 1892777

Please sign in to comment.