Fix black bed texture if svg file (#11166)

* Fix blank bed texture if svg file

* Refresh scene once the texture compression is completed
This commit is contained in:
Noisyfox
2025-10-31 16:53:08 +08:00
committed by GitHub
parent 99863163b2
commit 05533a7fd3
5 changed files with 19 additions and 5 deletions

View File

@@ -3309,6 +3309,7 @@ void GLCanvas3D::on_idle(wxIdleEvent& evt)
bool imgui_requires_extra_frame = wxGetApp().imgui()->requires_extra_frame();
m_dirty |= imgui_requires_extra_frame;
#endif // ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT
m_dirty |= GLTexture::Compressor::has_compressed_texture_to_refresh();
if (!m_dirty)
return;