FIX:add null pointer protection for m_partplate_list
jira: none Change-Id: I64f778c8c4773355fa2f3b6bedf924dd7683d7bb
This commit is contained in:
parent
f493a4495b
commit
3e607854ed
|
@ -2719,7 +2719,7 @@ bool PartPlate::set_shape(const Pointfs& shape, const Pointfs& exclude_areas, Ve
|
|||
else {
|
||||
;
|
||||
}
|
||||
if (m_partplate_list->m_bed3d && !m_partplate_list->m_bed3d->get_model_filename().empty()) {
|
||||
if (m_partplate_list && m_partplate_list->m_bed3d && !m_partplate_list->m_bed3d->get_model_filename().empty()) {
|
||||
set_logo_box_by_bed(m_partplate_list->m_bed3d->get_model().get_bounding_box());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue