Skip to content
Snippets Groups Projects
Commit 9635a98a authored by Marco Biasini's avatar Marco Biasini
Browse files

preserve attached entity views

parent be608382
Branches
Tags
No related merge requests found
......@@ -98,6 +98,15 @@ inline void DLLEXPORT StoreStrAsAln(String& aln_str1, String& aln_str2,
AlignmentHandle aln=CreateAlignment();
aln.AddSequence(CreateSequence(s1.GetName(), aln_str1));
aln.AddSequence(CreateSequence(s2.GetName(), aln_str2));
if (s1.GetAttachedView()) {
aln.AttachView(0, s1.GetAttachedView());
}
if (s2.GetAttachedView()) {
aln.AttachView(1, s2.GetAttachedView());
}
aln.SetSequenceOffset(0, i);
aln.SetSequenceOffset(1, j);
alignments.push_back(aln);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment