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:
parent
5fc2acc235
commit
a1523f3381
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue