ENH: refine the label logic of seq_print

use the arrange_order computed by Print
turn on label by default when switch to sequent print

Change-Id: I7063bcc9494bbfc14a3cee85eaf30a9eb52c99d2
This commit is contained in:
lane.wei 2022-10-28 10:18:17 +08:00 committed by Lane.Wei
parent 301b85f5c0
commit c79af29ad4
2 changed files with 16 additions and 3 deletions

View file

@ -9370,6 +9370,8 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
if (seq_print->value == PrintSequence::ByObject) {
std::string info_text = L("Print By Object: \nSuggest to use auto-arrange to avoid collisions when printing.");
notify_manager->bbl_show_seqprintinfo_notification(info_text);
//always show label when switch to sequence print
this->show_view3D_labels(true);
}
else
notify_manager->bbl_close_seqprintinfo_notification();