From d4ecd40f7baaa7e31d82746304e995ea7c214b8f Mon Sep 17 00:00:00 2001 From: Samuel Felton Date: Tue, 24 Sep 2024 18:08:02 +0200 Subject: [PATCH] Fix display having wrong override name --- modules/python/bindings/CMakeLists.txt | 3 --- modules/python/bindings/include/rbt/feature_tracker.hpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/python/bindings/CMakeLists.txt b/modules/python/bindings/CMakeLists.txt index cd525fd570..370c9883b0 100644 --- a/modules/python/bindings/CMakeLists.txt +++ b/modules/python/bindings/CMakeLists.txt @@ -38,9 +38,6 @@ set_source_files_properties(${python_bindings_cpp_src} PROPERTIES GENERATED TRUE pybind11_add_module(_visp ${python_bindings_cpp_src}) - - - # Place library in build/modules/python/bindings dir so that it doesn't pollute lib dir # This .so file is not treated the same as the others and we shouldn't link against it when compiling in C++ # when installing the python module, pip will look into this subfolder for .so files to copy into the site-packages diff --git a/modules/python/bindings/include/rbt/feature_tracker.hpp b/modules/python/bindings/include/rbt/feature_tracker.hpp index a4397e6022..c2b2f76252 100644 --- a/modules/python/bindings/include/rbt/feature_tracker.hpp +++ b/modules/python/bindings/include/rbt/feature_tracker.hpp @@ -101,7 +101,7 @@ class TrampolineRBFeatureTracker : public vpRBFeatureTracker { pybind11::gil_scoped_acquire gil; // Acquire the GIL while in this scope. // Try to look up the overridden method on the Python side. - pybind11::function override = pybind11::get_override(this, "computeVVSIter"); + pybind11::function override = pybind11::get_override(this, "display"); if (override) { // method is found // Pybind seems to copy the frames, so we pass the pointers override(cam, &I, &IRGB, &depth, type);