mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 02:16:02 +08:00
SPE-2591: Fix loading of custom gcodes with multiple beds (#13651)
This commit is contained in:
parent
4b3da02ec2
commit
e1b0826df5
@ -1618,7 +1618,7 @@ namespace Slic3r {
|
||||
continue;
|
||||
int bed_idx = 0;
|
||||
try {
|
||||
bed_block.second.get<int>("<xmlattr>.bed_idx");
|
||||
bed_idx = bed_block.second.get<int>("<xmlattr>.bed_idx");
|
||||
} catch (const boost::property_tree::ptree_bad_path&) {
|
||||
// Probably an old project with no bed_idx info. Imagine that we saw 0.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user