Add missing pybind definition for update_mesh.
PiperOrigin-RevId: 548395521 Change-Id: Id21a1ef6daa94a221062e7354db3e906611f0f36
This commit is contained in:
committed by
Copybara-Service
parent
ac4ed87a9f
commit
5f327b0c31
@@ -160,6 +160,12 @@ PYBIND11_MODULE(_simulate, pymodule) {
|
|||||||
simulate.UpdateHField(hfieldid);
|
simulate.UpdateHField(hfieldid);
|
||||||
},
|
},
|
||||||
py::call_guard<py::gil_scoped_release>())
|
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(
|
.def(
|
||||||
"update_texture",
|
"update_texture",
|
||||||
[](SimulateWrapper& simulate, int texid) {
|
[](SimulateWrapper& simulate, int texid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user