Skip to content

Conversation

@Noisyfox
Copy link
Collaborator

Fix issue that bed is black if texture is svg file:
image

Fixed:
image

@Noisyfox Noisyfox added the bug Something isn't working label Oct 27, 2025
@yw4z
Copy link
Contributor

yw4z commented Oct 27, 2025

thanks, there is also a issue texture not loading until mouse movements after changing printer.
tried to send paint event to canvas, and request extra frames etc
i have tried many methods but couldnt find a proper method. maybe you can solve that easily

@Noisyfox
Copy link
Collaborator Author

thanks, there is also a issue texture not loading until mouse movements after changing printer. tried to send paint event to canvas, and request extra frames etc i have tried many methods but couldnt find a proper method. maybe you can solve that easily

I think I've found the issue. It's due to the fact that texture compression is enabled (which is done in a background thread) and the texture data is not ready when switching the printer model. This is also why it doesn't work even if you send extra draw events immediately after the switch because the compression haven't finished yet.

By raising the event after the compression is completed should solve the issue.

@Noisyfox Noisyfox changed the title Fix blank bed texture if svg file Fix black bed texture if svg file Oct 28, 2025
@yw4z
Copy link
Contributor

yw4z commented Oct 28, 2025

build and tested on windows 11. works as expected
i scratched my head for this one. i didnt go on low level to fix. i mostly tried to fix this on load section
thanks for fix

only i noticed a small flickering. probably black texture visible very short amount of time. but its minor

@Noisyfox
Copy link
Collaborator Author

only i noticed a small flickering. probably black texture visible very short amount of time. but its minor

Yeah since texture compression is done asynchronized so there will be a very short amount of time when the texture is still being compressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build plate image is missing on both my voron 2.4 and v0 profiles.

2 participants