-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Use correct conversion from JSON to Material #754
Conversation
Codecov Report
@@ Coverage Diff @@
## master #754 +/- ##
=======================================
Coverage 48.86% 48.86%
=======================================
Files 325 325
Lines 16682 16682
Branches 7791 7791
=======================================
Hits 8151 8151
Misses 3061 3061
Partials 5470 5470 Continue to review full report at Codecov.
|
In principle this looks fine, but the material conversion unit tests seem to fail. Could you have a look? |
it is fixed now |
Updating - @Corentin-Allaire - can you review, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Two lines in
MaterialJsonConverter.cpp
of Json plugins showed the following compile error:call of overloaded ‘Material(const value_type&)’ is ambiguous
Looks like "at" method of json objects causes the ambiguity issue, so I changed it to "get" method to resolve it (suggested by @paulgessinger)