Fix first layer tool ordering in print-by-object mode (#6664)

Fix first layer tool ordering in print-by-object mode (SoftFever/OrcaSlicer#6615)
This commit is contained in:
Noisyfox
2025-01-22 10:05:38 +08:00
committed by GitHub
parent 74cf736903
commit 880081226a
2 changed files with 36 additions and 38 deletions

View File

@@ -210,6 +210,7 @@ private:
// All extruders, which extrude some material over m_layer_tools.
std::vector<unsigned int> m_all_printing_extruders;
std::unordered_map<uint32_t, std::vector<uint8_t>> m_tool_order_cache;
const DynamicPrintConfig* m_print_full_config = nullptr;
const PrintConfig* m_print_config_ptr = nullptr;
const PrintObject* m_print_object_ptr = nullptr;
bool m_is_BBL_printer = false;