FIX: add tips for timelapse

add tips when both print by object and smooth mode are selected

Change-Id: I13f4cc14f2ff7c33c23dcd1708fdb784aef5afa3
(cherry picked from commit a0bfe48df21d4eecf105d41387838f14b22fff3c)
This commit is contained in:
zhimin.zeng 2022-09-14 12:21:17 +08:00 committed by Lane.Wei
parent 4ad4151a07
commit 2e9174500d
1 changed files with 3 additions and 0 deletions

View File

@ -749,6 +749,9 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
}
if (m_config.print_sequence == PrintSequence::ByObject) {
if (m_config.timelapse_type == TimelapseType::tlSmooth)
return {L("Smooth mode of timelapse is not supported when \"by object\" sequence is enabled.")};
//BBS: refine seq-print validation logic
auto ret = sequential_print_clearance_valid(*this, collison_polygons, height_polygons);
if (!ret.string.empty())