Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions testing/mdl_validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ function validate_mdl_header()
echo " - ERROR: Skin width is zero!"
should_fail="1"
fi
if (( skin_width % 4 != 0 )); then
echo " - ERROR: Skin width is not multiple of four!"
should_fail="1"
fi

# Skin Height
local skin_height=$(read_int_in_file_at_ofs "${mdl_file}" "${MDL_SKINHEIGHT_OFS}")
Expand Down