-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Panic due to Rect shape feathering #5664
Comments
Upgraded to egui 0.31 . Panic is still triggered.
|
Maybe it is sufficient enough to check if default texture is used here: |
1 task
emilk
pushed a commit
that referenced
this issue
Feb 6, 2025
* Closes #5664 * [x] I have followed the instructions in the PR template
lucasmerlin
pushed a commit
that referenced
this issue
Mar 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When scaling UI if rendered Rect gets too small it may cause panic due to Rect being too small in some dimension and feathering was applied incorrectly (Not taking into account assert in inner function)
To Reproduce
Render small Rect under feathering threshold with texture_id set to non default value.
Expected behavior
If Rect can not be feathered, do not try to feather it.
Additional context
Egui version: 0.30
Stacktrace:
The text was updated successfully, but these errors were encountered: