emilk / emilk/egui_plot

Rotate Plot Image breaks texture size

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
468
Forks
108
Avg merge
15m
Merged PRs (30d)
3

Description

**Describe the bug**
When used Rotate Plot Image that breaks texture size.

[2024-03-01 14-35-15.webm](https://github.com/emilk/egui/assets/6862092/f7191283-c586-4644-8e36-a3ef145072bc)

**To Reproduce**
Steps to reproduce the behavior: https://github.com/nrot/EguiPlotImageBug

**Expected behavior**
Like without rotating, image saved his aspect.

**Desktop (please complete the following information):**
- OS: Linux, Windows
- Browser: Not checking
- Version 0.26.2

**Additional context**
I think it is bug with rotated texure. But i can`t figure out why it is breaks size. [May be this](https://github.com/nrot/egui/blob/82179d5eecc02c00e578244e4e0e98da80f51915/crates/epaint/src/mesh.rs#L291)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.