mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
GCodeViewer -> Extrusion toolpaths colored by tool
This commit is contained in:
parent
61db595f53
commit
4c4485a9b5
7 changed files with 81 additions and 19 deletions
|
@ -984,7 +984,7 @@ void Preview::load_print_as_fff(bool keep_z_range)
|
|||
if (gcode_preview_data_valid) {
|
||||
// Load the real G-code preview.
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
m_canvas->load_gcode_preview(*m_gcode_result);
|
||||
m_canvas->load_gcode_preview(*m_gcode_result, colors);
|
||||
m_canvas->refresh_toolpaths_ranges(*m_gcode_result);
|
||||
#else
|
||||
m_canvas->load_gcode_preview(*m_gcode_preview_data, colors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue