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

Fixed up old logs

parent c3bc3398
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function bNeedsUpdate = FixOldFileVersions()
global CellHulls HashedCells ConnectedDist GraphEdits Costs CellPhenotypes CellTracks ReplayEditActions
global CellHulls HashedCells ConnectedDist GraphEdits Costs CellPhenotypes CellTracks ReplayEditActions Log
bNeedsUpdate = 0;
......@@ -85,4 +85,12 @@ function bNeedsUpdate = FixOldFileVersions()
Editor.ReplayableEditAction(@Editor.OriginAction, 1);
bNeedsUpdate = 1;
end
for i=1:length(Log)
if(isfield(Log(i),'figures'))
if(isfield(Log(i).figures,'advanceTimerHandle'))
Log(i).figures.advanceTimerHandle = [];
end
end
end
end
\ No newline at end of file
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