Add missing pybind definition for update_mesh.

PiperOrigin-RevId: 548395521
Change-Id: Id21a1ef6daa94a221062e7354db3e906611f0f36
This commit is contained in:
Saran Tunyasuvunakool
2023-07-15 14:57:03 -07:00
committed by Copybara-Service
parent ac4ed87a9f
commit 5f327b0c31
+6
View File
@@ -160,6 +160,12 @@ PYBIND11_MODULE(_simulate, pymodule) {
simulate.UpdateHField(hfieldid);
},
py::call_guard<py::gil_scoped_release>())
.def(
"update_mesh",
[](SimulateWrapper& simulate, int meshid) {
simulate.UpdateMesh(meshid);
},
py::call_guard<py::gil_scoped_release>())
.def(
"update_texture",
[](SimulateWrapper& simulate, int texid) {