|
1st November 2013, 02:08 AM | #1 | ||
Junior Member
Junior member
Join Date: Aug 2013
Posts: 6
|
Re: Plugin: Another OBJ Importer/Exporter
Quote:
If the first case, you might want to try adding a return statement after the throw line. Or adding a return value, replacing the throw line with a return statement and replacing the try-catch lines in CObj::LoadFromFile with an if statement. Quote:
Since the OS is not translating \r to \n, the best option might be to convert the file yourself. I did a search for "mac carriage return line feed" and the pages at http://en.wikipedia.org/wiki/Newline and http://www.danielmiessler.com/study/crlf/ have commands to do this. Otherwise you would have to find/write a fgets replacement that stops on \r. |
||
|
|