mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Texture compression set as an option
This commit is contained in:
@@ -517,7 +517,11 @@ void Bed3D::render_prusa(const std::string &key, bool bottom) const
|
||||
|
||||
if ((m_texture.get_id() == 0) || (m_texture.get_source() != filename))
|
||||
{
|
||||
#if ENABLE_COMPRESSED_TEXTURES
|
||||
if (!m_texture.load_from_svg_file(filename, true, true, max_tex_size))
|
||||
#else
|
||||
if (!m_texture.load_from_svg_file(filename, true, max_tex_size))
|
||||
#endif // ENABLE_COMPRESSED_TEXTURES
|
||||
{
|
||||
render_custom();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user