VOXELFORMAT: added debug logging

master
Martin Gerhardy 2022-05-12 00:15:10 +02:00
parent edbcbfb923
commit 33f87bafc0
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ static const io::FormatDescription *getDescription(const core::String &ext, uint
continue;
}
if (magic > 0 && desc->isA && !desc->isA(magic)) {
Log::debug("File doesn't have the expected magic number");
continue;
}
return desc;