mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
export SelectFace to Python (useful to update timestamp of vsmesh)
This commit is contained in:
parent
64a6f85f12
commit
93c5f98d90
@ -3570,6 +3570,10 @@ DLL_HEADER void ExportMeshVis()
|
||||
{
|
||||
vsmesh.MouseMove(oldx, oldy, newx, newy, mode);
|
||||
}));
|
||||
bp::def("SelectFace", FunctionPointer
|
||||
([] (int facenr) {
|
||||
vsmesh.SetSelectedFace(facenr);
|
||||
}));
|
||||
}
|
||||
BOOST_PYTHON_MODULE(libvisual)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user