Skip to content

Commit

Permalink
bond origin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed May 3, 2024
1 parent a47455b commit 0086309
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def update_picked_polydata(self):
atoms.SetPoint(i, x, y, z)
self._picked_polydata.SetPoints(atoms)

if self._bonds_visible and len(picked) > 1:
if self._bonds_visible and len(picked) >= 1:
# do not bond atoms to dummy atoms
not_du = np.array(
[
Expand Down

0 comments on commit 0086309

Please sign in to comment.