FIX:Fix the crash that occurred when importing G-code file

Jira:STUDIO-13408

(cherry picked from commit 3810f4edfe086b9500860e59baf35e5568b56977)
This commit is contained in:
weizhen.xie
2025-07-16 23:12:31 +08:00
committed by Noisyfox
parent 55e3bd1a4d
commit 04f0b96029
7 changed files with 27 additions and 1 deletions

View File

@@ -986,6 +986,8 @@ public:
const ToolOrdering& tool_ordering() const { return m_tool_ordering; }
void update_filament_maps_to_config(std::vector<int> f_maps);
void apply_config_for_render(const DynamicConfig &config);
// 1 based group ids
std::vector<int> get_filament_maps() const;
FilamentMapMode get_filament_map_mode() const;