Subv's changes to mesh extractor V2

Signed-off-by: Tomatoes <diredarknil@gmail.com>
Merge pull request #10963 from Tomatodev/master

Tools/MeshExtractor: Fixed an infinite loop when reading the liquid information