#2306 closed defect (fixed)
weird initial model placement if 2d labels created first
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Scenes/Animation | Version: | |
Keywords: | Cc: | pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
If I start ChimeraX then use these commands in this order:
2d text 'FGFR1 kinase domain' xpos .15 ypos .9 size 28
open 3gqi
... the atomic model is placed out of view. If I use the commands in the other order, it is centered as expected. Also if I then close session and re-execute in the other order (label first) the atomic model now appears in the center as expected. It is only when I do it the label-first way after starting ChimeraX that the atomic model is misplaced. If I close session (without quitting) and do it label-first again, the model is again misplaced. It is only after opening atomic-first once that breaks the "spell" ... some kind of initialization issue?
It's not unusual for me to create the title in a script before opening the structures. Maybe other people don't, but I'm guessing this might not be too hard to fix.
Attachments (1)
Change History (4)
comment:1 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
follow-up: 2 comment:2 by , 6 years ago
comment:3 by , 6 years ago
Yep. The initial camera view was incorrectly being set after a session restore. Fixed now.
Fixed.
Camera view was only set when first model opened. If a 2D label was the first model and it had no scene bounds, then the camera view was not set. New rule is that camera view is set when a first model is added that has scene has bounds.