Skip to content

Commit

Permalink
Fix check in ConvertFromPinholeCameraParameters function from `View…
Browse files Browse the repository at this point in the history
…Control` (#6711)
  • Loading branch information
lumurillo committed Apr 17, 2024
1 parent a4a173e commit 74dcbe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/open3d/visualization/visualizer/ViewControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ bool ViewControl::ConvertFromPinholeCameraParameters(
window_width_ != intrinsic.width_ ||
std::abs(intrinsic.intrinsic_matrix_(0, 2) -
((double)window_width_ / 2.0 - 0.5)) > threshold ||
std::abs(intrinsic.intrinsic_matrix_(1, 2) =
((double)window_height_ / 2.0 - 0.5)) > threshold)) {
std::abs(intrinsic.intrinsic_matrix_(1, 2) -
((double)window_height_ / 2.0 - 0.5)) > threshold)) {
utility::LogWarning(
"[ViewControl] ConvertFromPinholeCameraParameters() failed "
"because window height and width do not match.");
Expand Down

0 comments on commit 74dcbe8

Please sign in to comment.