Opened 7 years ago

Closed 7 years ago

#1843 closed defect (fixed)

Move selected models uses wrong coordinates if parent model moved in scene

Reported by: Tristan Croll Owned by: Tom Goddard
Priority: minor Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

If I open an NMR ensemble and apply some transform to the group:

open 1pmx
turn 1,0,1 45 models #1

then...

select #1.1
ui mousemode rightMode "rotate selected models"

(or "translate selected models")

... then the rotations and translations are in the model's coordinate frame rather than scene coordinates. FitMap also seems to get confused.

Change History (1)

comment:1 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed
Summary: Non-identity transforms in parent models confuse some algorithmsMove selected models uses wrong coordinates if parent model moved in scene

Fixed rotate and translate selected models.

Would need a test case to diagnose fitmap problems with moved parent model. Often ChimeraX code has not been tested with model hierarchies and moved parent models and since Chimera did not have model hierarchy support code ported from it often only works if the parent model has not been moved in the scene. So it is not surprising that these bugs exists.

Note: See TracTickets for help on using tickets.