Closed zjp closed 1 year ago
This is an import in reuse_unlit_appearance() last modified 5 years ago by Greg and not used anywhere in ChimeraX. I am not sure how productive it is to try to patch unused code that cannot be tested. I guess you are doing it to eliminate linting errors. Maybe it would be more valuable to mark such code as unused and assign the issue to the person who wrote it.
Possibly. I don't mind if the outcome of most of these issues and PRs are getting told their subjects are dead code; it's either a live bug that needs to be fixed or more code we know we need to debride at some point.
Should import from .linetype, not chimerax.graphics.linetype. The code is vestigial but would be needed if unlit lines are supported again (eg., VRML or X3D data files).
I think this is the right import, but I've never touched our graphical backends before so I'm not 100% sure.