Mark layers as dirty when their reference frame's mean radius changes #205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, when a reference frame's mean radius is updated, its layers are not redrawn. This seems to be one of the causes of the problem in #198. While the distance of the points from the center is modified appropriately, the positions of points in some layers depend on the frame's mean radius in a non-linear fashion. These layers will thus display incorrectly until another action (such as closing the layer properties window) marks the layer as "dirty". This PR fixes this issue by marking each of a reference frame's layers as dirty when the frame's mean radius is updated in the UI.
I think there are two points worth mentioning here: