mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 20:32:06 +00:00
FIX:Fix the image error of the hot bed
jira: STUDIO-14278 Change-Id: I3d0ee519b7ab057480cfde88be6b52d4f902b522 (cherry picked from commit af66ccee4e63074d4242f05792c1bc927c9ea2f8)
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
#define BBL_JSON_KEY_BED_TEXTURE "bed_texture"
|
||||
#define BBL_JSON_KEY_IMAGE_BED_TYPE "image_bed_type"
|
||||
#define BBL_JSON_KEY_BOTTOM_TEXTURE_END_NAME "bottom_texture_end_name"
|
||||
#define BBL_JSON_KEY_USE_DOUBLE_EXTRUDER_DEFAULT_TEXTURE "use_double_extruder_default_texture"
|
||||
#define BBL_JSON_KEY_BOTTOM_TEXTURE_RECT "bottom_texture_rect"
|
||||
#define BBL_JSON_KEY_MIDDLE_TEXTURE_RECT "middle_texture_rect"
|
||||
|
||||
@@ -127,6 +128,7 @@ public:
|
||||
std::string bed_texture;
|
||||
std::string image_bed_type;
|
||||
std::string bottom_texture_end_name;
|
||||
std::string use_double_extruder_default_texture;
|
||||
std::string bottom_texture_rect;
|
||||
std::string middle_texture_rect;
|
||||
std::string hotend_model;
|
||||
|
||||
@@ -3727,6 +3727,8 @@ std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_vendor_configs_
|
||||
model.bed_model = it.value();
|
||||
} else if (boost::iequals(it.key(), BBL_JSON_KEY_BOTTOM_TEXTURE_END_NAME)) {
|
||||
model.bottom_texture_end_name = it.value();
|
||||
} else if (boost::iequals(it.key(), BBL_JSON_KEY_USE_DOUBLE_EXTRUDER_DEFAULT_TEXTURE)) {
|
||||
model.use_double_extruder_default_texture = it.value();
|
||||
} else if (boost::iequals(it.key(), BBL_JSON_KEY_BOTTOM_TEXTURE_RECT)) {
|
||||
model.bottom_texture_rect = it.value();
|
||||
} else if (boost::iequals(it.key(), BBL_JSON_KEY_MIDDLE_TEXTURE_RECT)) {
|
||||
|
||||
Reference in New Issue
Block a user