FIX: gui: fix some .gcode.3mf can not load issue
jira: no-jira Change-Id: I8a80936f7a3e1a70116e474cd4429fb23b1d218b
This commit is contained in:
parent
6eba5f3b48
commit
9ad06ba3f4
|
@ -3123,7 +3123,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||
auto timelapse_type = dconfig.option<ConfigOptionEnum<TimelapseType>>("timelapse_type");
|
||||
bool timelapse_enabled = timelapse_type ? (timelapse_type->value == TimelapseType::tlSmooth) : false;
|
||||
|
||||
if (wt && (timelapse_enabled || filaments_count > 1)) {
|
||||
if (wt && (timelapse_enabled || filaments_count > 1) && !wxGetApp().plater()->only_gcode_mode() && !wxGetApp().plater()->is_gcode_3mf()) {
|
||||
for (int plate_id = 0; plate_id < n_plates; plate_id++) {
|
||||
// If print ByObject and there is only one object in the plate, the wipe tower is allowed to be generated.
|
||||
PartPlate* part_plate = ppl.get_plate(plate_id);
|
||||
|
|
Loading…
Reference in New Issue