FIX: fix a build error in mac and linux

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I8e50356b5ff4d1449852de7a1136e28fc5d8e5ea
This commit is contained in:
yifan.wu 2022-10-27 10:03:58 +08:00 committed by Lane.Wei
parent 5fc2acc235
commit a1523f3381
1 changed files with 2 additions and 1 deletions

View File

@ -10095,7 +10095,8 @@ int Plater::select_plate(int plate_index, bool need_slice)
}
}
p->on_plate_selected(SimpleEvent(EVT_GLCANVAS_PLATE_SELECT));
SimpleEvent event(EVT_GLCANVAS_PLATE_SELECT);
p->on_plate_selected(event);
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: plate %2%, return %3%")%__LINE__ %plate_index %ret;
return ret;