Skip to content
Snippets Groups Projects
Commit 4bca88d1 authored by Walt Mankowski's avatar Walt Mankowski
Browse files

Fixed error in load code for forcing non-empty logicals.

parent ec165f28
No related branches found
No related tags found
No related merge requests found
......@@ -134,8 +134,11 @@ function bNeedsUpdate = FixOldFileVersions()
CellFamilies = forceLogicalFields(CellFamilies, 'bLocked');
bEmptyHulls = arrayfun(@(x)(isempty(x.deleted)), CellHulls);
CellHulls(bEmptyHulls).deleted = true;
CellHulls(bEmptyHulls).userEdited = false;
emptyIdx = find(bEmptyHulls);
for i=1:length(emptyIdx)
CellHulls(emptyIdx(i)).deleted = true;
CellHulls(emptyIdx(i)).userEdited = false;
end
% Get rid of timer handle in Log
for i=1:length(Log)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment