Skip to content

Commit

Permalink
#1631 - Adding explicit hydrogens does not reset _connectivity, _impl…
Browse files Browse the repository at this point in the history
…icit_h, _total_h, _valence, _radicals anymore
  • Loading branch information
Simone Zanella committed Feb 14, 2025
1 parent 51ceaf8 commit 63791e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/indigo-core/molecule/src/base_molecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4887,7 +4887,7 @@ void BaseMolecule::unfoldHydrogens(Array<int>* markers_out, int max_h_cnt, bool
for (int j = 0; j < h_cnt; j++)
{
int new_h_idx = addAtom(ELEM_H);
int new_bond_idx = addBond(i, new_h_idx, BOND_SINGLE);
int new_bond_idx = addBond_Silent(i, new_h_idx, BOND_SINGLE);

if (only_selected) // if only selected atoms - select new H too
{
Expand Down

0 comments on commit 63791e4

Please sign in to comment.