Skip to content
Snippets Groups Projects
Commit b5cbaa22 authored by Niklaus Johner's avatar Niklaus Johner
Browse files

Added support for unit cell size and angles in the CoordGroup::Filter function

parent 7ef92de5
Branches
Tags
No related merge requests found
......@@ -256,7 +256,7 @@ CoordGroupHandle CoordGroupHandle::Filter(const EntityView& selected, int first,
j=indices.begin(), e2=indices.end(); j!=e2; ++j) {
vecs[j-indices.begin()]=(*frame)[*j];
}
filtered_cg.AddFrame(vecs);
filtered_cg.AddFrame(vecs,(*frame).GetCellSize(),(*frame).GetCellAngles());
}
return filtered_cg;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment