Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion @msh/msh.m
Original file line number Diff line number Diff line change
Expand Up @@ -3880,7 +3880,8 @@ function plotter(cmap,round_dec,yylabel,apply_pivot)
end
end
% f13
if ~isempty(obj.f13)
if ~isempty(m_old.f13)
obj.f13 = m_old.f13;
obj.f13.NumOfNodes = length(ind);
for att = 1:obj.f13.nAttr
% Get the old index for this attribute
Expand All @@ -3906,6 +3907,7 @@ function plotter(cmap,round_dec,yylabel,apply_pivot)
val_new = [val_new'; val_new2]';
end
% Put the uservalues back into f13 struct
obj.f13.userval.Atr(att).AttrName = m_old.f13.userval.Atr(att).AttrName;
obj.f13.userval.Atr(att).Val = [idx_new'; val_new];
obj.f13.userval.Atr(att).usernumnodes = length(idx_new);
end
Expand Down