You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically each new face has its own usemtl line with the same material. According to ObjFileParser::getMaterialDesc() you create a new object even if the material is still the same. I believe this only should be done if the new material name is different.
I can make changes to the code and submit a pull request, but need your approval first, as if this is against your design and will not be merged, I'll probably find another way to sort this out.
here you are: #709 - it builds well, but fails the regression test as I neither white-listed the file, nor re-generated the database, as the build system is too complex for that small fix.
@kimkulling cheers :) I've just added one more commit that trims whitespaces around material names. There is a similar code in another format reader, but as it is private I decided to make my own function. It is worth moving it out to a common file, I suppose.
@kimkulling I'm pretty happy with the latest fix test results and believe that the database needs to be updated for the failed files. It would be nice if you have a second look too, though.
Activity
acgessler commentedon Dec 11, 2015
Please go ahead and submit a PR for this! Thanks
ov commentedon Dec 13, 2015
here you are: #709 - it builds well, but fails the regression test as I neither white-listed the file, nor re-generated the database, as the build system is too complex for that small fix.
kimkulling commentedon Dec 13, 2015
Special for stuff like that: you are right. I will take care of your fix and thanks a lot for your pull-request,
ov commentedon Dec 13, 2015
@kimkulling cheers :) I've just added one more commit that trims whitespaces around material names. There is a similar code in another format reader, but as it is private I decided to make my own function. It is worth moving it out to a common file, I suppose.
ov commentedon Dec 13, 2015
@kimkulling I'm pretty happy with the latest fix test results and believe that the database needs to be updated for the failed files. It would be nice if you have a second look too, though.
kimkulling commentedon Dec 27, 2015
I did, should be fixed now.
Update CMakeLists.txt
Update CMakeLists.txt (#5379)
Update CMakeLists.txt (#5379)