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
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,8 @@ ost::mol::EntityHandle CreateBU(const ost::mol::EntityHandle& asu, ...@@ -344,7 +344,8 @@ ost::mol::EntityHandle CreateBU(const ost::mol::EntityHandle& asu,
// connect // connect
for(auto it = bond_list.begin(); it != bond_list.end(); ++it) { for(auto it = bond_list.begin(); it != bond_list.end(); ++it) {
ed.Connect(atom_mapper[it->GetFirst().GetHashCode()], 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