Open3DMotionGroup/Open3DMotion — pull request #5 by Alzathar (2012-12-17 08:20:49+00:00)
Title: [FIX] Crash of the MATextReader class if the given file doesn't exist.

Accidently I discovered that if the filename given to the method `MATextReader::Read` doesn't exist, then the variable `group`and `channel` are empty. Morever, as `numcolumns` is then equal to 0, then the while loop is infinite. The modulo `%` operator send also an error in this last case.

Finally, I added the test at the beginning on the given input stream to know if there is already an error `if (is.fail())`. A unit test was added to cover this problem