mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Texture compression set as an option
This commit is contained in:
parent
61c41aa90f
commit
886da08f89
9 changed files with 133 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue