Skip to content

Commit 350af14

Browse files
committed
Add more logging to selection arrow size mismatchn.
1 parent 426c56e commit 350af14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SerialPrograms/Source/PokemonSwSh/Inference/PokemonSwSh_SelectionArrowFinder.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ bool is_selection_arrow(const ImageViewRGB32& image, const WaterfillObject& obje
5757
}catch (InternalProgramError&){
5858
global_logger_tagged().log(
5959
"Mismatching matrix and image size.\n"
60+
" Image: " + std::to_string(image.width()) + "x" + std::to_string(image.height()) +
61+
" Cropped: " + std::to_string(cropped.width()) + "x" + std::to_string(cropped.height()) +
6062
" Matrix: " + std::to_string(matrix_width) + "x" + std::to_string(matrix_height) +
6163
" Object: " + std::to_string(object.width()) + "x" + std::to_string(object.height()) +
6264
" Object X: " + std::to_string(object.min_x) + "-" + std::to_string(object.max_x) +

0 commit comments

Comments
 (0)