Skip to content

Commit

Permalink
Merge pull request #684 from takanokage/constructorInit
Browse files Browse the repository at this point in the history
fixed bug due to PinholeCameraIntrinsic constructor not initializing member data.
  • Loading branch information
syncle committed Nov 13, 2018
2 parents 4bc09a4 + 2798927 commit 3829dae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Core/Camera/PinholeCameraIntrinsic.cpp
Expand Up @@ -32,7 +32,8 @@

namespace open3d{

PinholeCameraIntrinsic::PinholeCameraIntrinsic()
PinholeCameraIntrinsic::PinholeCameraIntrinsic() : width_(-1), height_(-1),
intrinsic_matrix_(Eigen::Matrix3d::Zero())
{
}

Expand Down

0 comments on commit 3829dae

Please sign in to comment.