Opened 8 years ago

Closed 8 years ago

#879 closed enhancement (fixed)

Make bonds and pseudobonds selectable

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Currently bonds and pseudobonds are not selectable although they do show a green outline if their atom endpoints are selected.

Want to be able to select bonds and pseudobonds without selecting the end-point atoms.

Change History (2)

comment:1 by Tom Goddard, 8 years ago

Added bond and pseudobond selected attributes in C++ and to Python API.
Added bonds and pseudobonds to Objects class and made atomspec parsing use these.
Fixed commands (color, show, hide, style, transparency, setattr, select) that act on bonds and pseudobonds.
Made selectors (hbonds, pbonds, sel) select bonds and pseudobonds instead of atoms.
Fixed mouse picking of bonds and pseudobonds.

A few things not yet done:
Save bond and pseudobond selection state in sessions.
Make drag select get bonds and pseudobonds (maybe just check bond mid-point for simplicity).

I probably introduced a number of bugs with these changes.

comment:2 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Eric has added session saving of bond and pseudobond selection.
I added drag select of bonds and pseudobonds using their midpoints.
Fixed several bugs (undo not remembering bonds, pseudobonds).

Note: See TracTickets for help on using tickets.