Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flip only the needed meshes rather than the whole canvas #945

Merged
merged 1 commit into from
Jan 31, 2022
Merged

Conversation

loichuder
Copy link
Member

This is in essence a revert of #813

While this seemed very elegant for texture-based meshes, this introduces an issue for meshes that make use of the axis scales to position themselves (through dataToWorld).

Indeed, the flip is already accounted for in the scales (which make sense for axes) so that coordinates computed through them already have the correct flipped coordinates. As a consequence, having an inverting group around such meshes flip them once more which is incorrect.

Examples of such meshes include SelectionMesh or the ones used in LineVis.

@loichuder loichuder merged commit 2efe4bb into main Jan 31, 2022
@loichuder loichuder deleted the fix-flip branch January 31, 2022 15:06
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.

None yet

2 participants