Skip to content
Snippets Groups Projects
Commit edfa42ec authored by Eric Wait's avatar Eric Wait
Browse files

Fixed a DrawTree bug when there is only one hull on a track

parent 43c6b22c
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ if useDistance>0
% [CellHulls(CellTracks(trackID).hulls(i+1)).distanceToVasc CellHulls(CellTracks(trackID).hulls(i+1)).distanceToVasc],...
% '-','color',FaceColor,'LineWidth',2.0);
plot(uiTreeAx,[Hulls(Tracks(trackID).hulls(i+1)).frame-1 Tracks(trackID).endFrame],[distances(i+1) endDist],'-','color',FaceColor,'LineWidth',2.0);
plot(uiTreeAx,[Hulls(Tracks(trackID).hulls(end)).frame-1 Tracks(trackID).endFrame],[distances(length(Tracks(trackID).hulls)) endDist],'-','color',FaceColor,'LineWidth',2.0);
childhandles = get(uiTreeAx, 'children');
childhandles = childhandles([2:end 1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment