Follow-up of 9b5edbfa5f
-> added comments
This commit is contained in:
parent
d954a70bbf
commit
a30c35d240
1 changed files with 5 additions and 0 deletions
|
@ -159,6 +159,11 @@ static bool obj_parseline(const char *line, ObjData &data)
|
|||
line = endptr;
|
||||
EATWS();
|
||||
}
|
||||
// the following check is commented out because there may be obj files containing extra data, as those generated by Meshlab,
|
||||
// see https://dev.prusa3d.com/browse/SPE-1019 for an example,
|
||||
// and this would lead to a crash because no vertex would be stored
|
||||
// if (*line != 0)
|
||||
// return false;
|
||||
data.coordinates.push_back((float)x);
|
||||
data.coordinates.push_back((float)y);
|
||||
data.coordinates.push_back((float)z);
|
||||
|
|
Loading…
Reference in a new issue