Skip to content

Commit

Permalink
PR #11273 from noacoohen: fixing pyrsutil.cpp bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Dec 29, 2022
2 parents 2e451e4 + e3b3065 commit 264430d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrappers/python/pyrsutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ void init_util(py::module &m) {
{
std::array<float, 2> to_pixel{-1.0f, -1.0f};
rs2_project_color_pixel_to_depth_pixel(to_pixel.data(), static_cast<const uint16_t*>(data._ptr),
depth_scale, depth_min, depth_max, &depth_intrin, &color_intrin, &depth_to_color,
&color_to_depth, from_pixel.data());
depth_scale, depth_min, depth_max, &depth_intrin, &color_intrin, &color_to_depth,
&depth_to_color, from_pixel.data());
return to_pixel;
};

Expand Down

0 comments on commit 264430d

Please sign in to comment.