mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00: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:
@@ -462,7 +462,7 @@ std::string PresetBundle::get_texture_for_printer_model(std::string model_name)
|
||||
{
|
||||
for (auto vendor_model: vendor_profile.second.models)
|
||||
{
|
||||
if (vendor_model.name == model_name)
|
||||
if (vendor_model.name == model_name || vendor_model.id == model_name)
|
||||
{
|
||||
texture_name = vendor_model.bed_texture;
|
||||
vendor_name = vendor_profile.first;
|
||||
|
||||
Reference in New Issue
Block a user