Skip to content

Commit

Permalink
Merge pull request opencv#12574 from alalek:fixes_master
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Sep 18, 2018
2 parents e6171d1 + 38de2a8 commit 145d3ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/calib3d/src/chessboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2557,6 +2557,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 1;
break;
}
/* fallthrough */
case 2: // right
if(iter.right(true))
{
Expand All @@ -2566,6 +2567,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 2;
break;
}
/* fallthrough */
case 3: // bottom
if(iter.bottom(true))
{
Expand All @@ -2575,6 +2577,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 3;
break;
}
/* fallthrough */
case 4: // left
if(iter.left(true))
{
Expand Down
1 change: 1 addition & 0 deletions modules/calib3d/test/test_chesscorners.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void CV_ChessboardDetectorTest::run( int /*start_from */)
{
case CHESSBOARD_SB:
checkByGeneratorHighAccuracy(); // not supported by CHESSBOARD
/* fallthrough */
case CHESSBOARD:
checkByGenerator();
if (ts->get_err_code() != cvtest::TS::OK)
Expand Down

0 comments on commit 145d3ba

Please sign in to comment.