Tools/MeshExtractor: Removed some redundant code