mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Hopefully final follow-up of 8ebb2e2
-> GCodeViewer: Ensure that the view is properly updated after automatic selection of view type when loading model using multiextruders prints
This commit is contained in:
parent
84c6199015
commit
90a23d73bc
3 changed files with 39 additions and 18 deletions
|
@ -636,6 +636,7 @@ public:
|
|||
void set_toolpaths_z_range(const std::array<unsigned int, 2>& range);
|
||||
#if ENABLE_FIX_IMPORTING_COLOR_PRINT_VIEW_INTO_GCODEVIEWER
|
||||
std::vector<CustomGCode::Item>& get_custom_gcode_per_print_z() { return m_gcode_viewer.get_custom_gcode_per_print_z(); }
|
||||
size_t get_gcode_extruders_count() { return m_gcode_viewer.get_extruders_count(); }
|
||||
#endif // ENABLE_FIX_IMPORTING_COLOR_PRINT_VIEW_INTO_GCODEVIEWER
|
||||
|
||||
std::vector<int> load_object(const ModelObject& model_object, int obj_idx, std::vector<int> instance_idxs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue