Skip to content
Snippets Groups Projects
Commit 0356d1b9 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

CreateBU: Set bond order when connecting atoms

parent 6977d26f
Branches
Tags
No related merge requests found
......@@ -344,7 +344,8 @@ ost::mol::EntityHandle CreateBU(const ost::mol::EntityHandle& asu,
// connect
for(auto it = bond_list.begin(); it != bond_list.end(); ++it) {
ed.Connect(atom_mapper[it->GetFirst().GetHashCode()],
atom_mapper[it->GetSecond().GetHashCode()]);
atom_mapper[it->GetSecond().GetHashCode()],
it->GetBondOrder());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment