Skip to content

Fixes for Paint View / X-Ray View switching anomalies#53

Open
PartySausage wants to merge 2 commits intofieldOfView:masterfrom
PartySausage:master
Open

Fixes for Paint View / X-Ray View switching anomalies#53
PartySausage wants to merge 2 commits intofieldOfView:masterfrom
PartySausage:master

Conversation

@PartySausage
Copy link

This PR fixes the following legend & view mode anomalies when switching between the Paint Tool & X-Ray View.

  1. If the Paint Tool is active & X-Ray View is selected then the interface now returns to the Paint View when X-Ray View is deselected rather than the Solid View even though the Paint Tool panel remained open.

  2. If the Paint Tool is active & X-Ray View is selected then the X-Ray View Legend is now displayed rather than disappearing. The disappearing legend persisted in both X-Ray View & Solid View even if the Paint Tool was subsequently exited. The only way I found to display it again was to toggle to Preview & back to Prepare again, which seemed to force a refresh of the code for displaying the legend

  3. When the Paint Tool is active the legend now displays 'Paint Tool' rather than the legend colours for the Solid View, which it would otherwise do after resolving 2 above. The Paint Tool colours are pretty much self explanatory in the plugin panel anyhow & I didn't think there was a reason to include them in the legend too

  4. Removed some Paint Tool switching code that was causing delays activating the Paint tool, which didn't deem to have a function or affect operation when removed

  5. Correct case of text in Solid View / X-Ray View Legend

This is my first attempt at creating a PR so hopefully I've followed the correct process

If the Paint Tool is active & X-Ray View is selected then the interface now returns to the Paint View when X-Ray View is deselected rather than the Solid View even though the Paint Tool panel remained open.

If the Paint Tool is active & X-Ray View is selected then the X-Ray View Legend is now displayed rather than disappearing. The disappearing legend persisted in both X-Ray View & Solid View even if the Paint Tool was subsequently exited. The only way I found to display it again was to toggle to Preview & back to Prepare again, which seemed to force a refresh of the code for displaying the legend

When the Paint Tool is active the legend now displays 'Paint Tool' rather than the legend colours for the Solid View, which it would otherwise do after resolving 2 above. The Paint Tool colours are pretty much self explanatory in the plugin panel anyhow & I didn't think there was a reason to include them in the legend too

Removed some Paint Tool switching code that was causing delays activating the Paint tool, which didn't deem to have a function or affect operation when removed

Corrected case of text in Solid View / X-Ray View Legend
If the Paint Tool is active & X-Ray View is selected then the interface now returns to the Paint View when X-Ray View is deselected rather than the Solid View even though the Paint Tool panel remained open.

If the Paint Tool is active & X-Ray View is selected then the X-Ray View Legend is now displayed rather than disappearing. The disappearing legend persisted in both X-Ray View & Solid View even if the Paint Tool was subsequently exited. The only way I found to display it again was to toggle to Preview & back to Prepare again, which seemed to force a refresh of the code for displaying the legend

When the Paint Tool is active the legend now displays 'Paint Tool' rather than the legend colours for the Solid View, which it would otherwise do after resolving 2 above. The Paint Tool colours are pretty much self explanatory in the plugin panel anyhow & I didn't think there was a reason to include them in the legend too

Removed some Paint Tool switching code that was causing delays activating the Paint tool, which didn't deem to have a function or affect operation when removed

Corrected case of text in Solid View / X-Ray View Legend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant