export SelectFace to Python (useful to update timestamp of vsmesh)

This commit is contained in:
Matthias Hochsteger 2016-08-30 15:02:28 +02:00
parent 64a6f85f12
commit 93c5f98d90

View File

@ -3570,6 +3570,10 @@ DLL_HEADER void ExportMeshVis()
{ {
vsmesh.MouseMove(oldx, oldy, newx, newy, mode); vsmesh.MouseMove(oldx, oldy, newx, newy, mode);
})); }));
bp::def("SelectFace", FunctionPointer
([] (int facenr) {
vsmesh.SetSelectedFace(facenr);
}));
} }
BOOST_PYTHON_MODULE(libvisual) BOOST_PYTHON_MODULE(libvisual)
{ {