Skip to content
Snippets Groups Projects
Commit 46bd770f authored by Mark Winter's avatar Mark Winter
Browse files

Remove 'Feature' argument. Make bLongDistance argument optional

parent ef2ee940
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ function newTrackID = AddNewSegmentHull(clickPt, time)
newFeature = newFeat;
end
newHullID = Hulls.SetHullEntries(0, newHull, newFeature);
newHullID = Hulls.SetHullEntries(0, newHull);
newTrackID = Tracker.TrackAddedHulls(newHullID, newHull.centerOfMass);
end
......
......@@ -27,7 +27,7 @@
function GraphEditSetEdge(trackID, nextTrackID, time, bLongDistance)
global GraphEdits CachedCostMatrix CellTracks
if(bLongDistance)
if(exist('bLongDistance', 'var') && bLongDistance)
track = CellTracks(trackID);
if(isempty(track.hulls)) %check for valid track
trackHull = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment