Opened 6 years ago
Closed 6 years ago
#2322 closed defect (fixed)
color target "All" semi-colors 2D labels
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Depiction | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
I was experimenting to see whether color target All includes 2D labels. It seems to tint them rather than simply change them to the specified color, which is interesting and fully undoable but probably not what was intended! Since color target All does work as expected with 3D labels, I guess this effect with the 2D labels is a bug.
Example:
open http://www.rbvi.ucsf.edu/chimerax/gallery_samples/prc.cxs
color tan All
... all the 2D labels become tan-ish but not straight tan
tested in daily UCSF ChimeraX version: 0.91 (2019-08-15)
Note:
See TracTickets
for help on using tickets.
Fixed.
Color command was modulating 2d label colors -- didn't notice before because I tested with white labels. Technically it is not too pretty as the label model color attribute is always white because that modulates the texture that actually has the colors for the label foreground and background. So 2d labels use attribute "single_color" for the text color. Hopefully this does not lead to more bugs.