Opened 6 years ago

Closed 6 years ago

#2869 closed defect (fixed)

incorrect undo of roll specific model

Reported by: Elaine Meng Owned by: Conrad Huang
Priority: moderate Milestone:
Component: Undo/Redo Version:
Keywords: Cc: pett, Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The attached session square-assembly.cxs has two models #2.1 and #2.2 making up a square assembly. The session restore position is a view named "middle". Session made/tested in UCSF ChimeraX version: 0.92 (2020-02-20)

All of the following commands undo perfectly, as can be assessed by executing them, and then "undo", and then "view middle" (which should not cause any change).

turn y 90
roll y 90 1
turn y 90 models #2.1

However, this one does not undo back to the previous position:

roll y 90 1 models #2.1

After the "undo" the square is not square, and "view middle" changes noticeably to get you back to the square.

Maybe the difference is not roll vs. turn but the inclusion of a frame argument?

Attachments (1)

square-assembly.cxs (216.7 KB ) - added by Elaine Meng 6 years ago.

Download all attachments as: .zip

Change History (2)

by Elaine Meng, 6 years ago

Attachment: square-assembly.cxs added

comment:1 by Conrad Huang, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 49f498967.

Make multi-frame turns use the same cofr instead of recomputing each frame, which causes the rotation to precess if only some models/atoms are rotated.

Note: See TracTickets for help on using tickets.