From 36f83c26488877f158ddf42393dfa21f3df6d270 Mon Sep 17 00:00:00 2001 From: Douglas Greve Date: Fri, 14 Jan 2022 11:50:19 -0500 Subject: [PATCH] mris_place_surface.cpp. #NF. Fixed bug to previous RipVertices() edit. --- mris_make_surfaces/mris_place_surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mris_make_surfaces/mris_place_surface.cpp b/mris_make_surfaces/mris_place_surface.cpp index ebda0c8a7d7..383926de336 100644 --- a/mris_make_surfaces/mris_place_surface.cpp +++ b/mris_make_surfaces/mris_place_surface.cpp @@ -1657,7 +1657,7 @@ int RIP_MNGR::RipVertices(void) // probably want to use white for this printf("Ripping BG\n"); int err = MRISripBasalGanglia(ripsurf, seg, dmin,dmax,dstep); - if(err) return(err); + if(err < 0) return(1); } if(nRipSegs){ // probably want to use white for this