1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Follow-up of 9b5edbfa5f -> added comments

This commit is contained in:
Enrico Turri
2019-09-09 11:50:19 +02:00
parent d954a70bbf
commit a30c35d240
+5
View File
@@ -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);