mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Fixed an issue that bed texture was not reset when switching to a new printer model that don't have a valid bed texture.
also fix/tweak some printer's bed texture
This commit is contained in:
parent
cc984b21fe
commit
68e1722e97
7 changed files with 156 additions and 45 deletions
|
@ -4604,6 +4604,7 @@ void PartPlateList::update_logo_texture_filename(const std::string &texture_file
|
|||
return !texture.empty() && (boost::algorithm::iends_with(texture, ".png") || boost::algorithm::iends_with(texture, ".svg")) && boost::filesystem::exists(texture, ec);
|
||||
};
|
||||
if (!texture_filename.empty() && !check_texture(texture_filename)) {
|
||||
m_logo_texture_filename = "";
|
||||
BOOST_LOG_TRIVIAL(error) << "Unable to load bed texture: " << texture_filename;
|
||||
} else
|
||||
m_logo_texture_filename = texture_filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue