Skip to content
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 supported shader types (normal_map_X_space) #383

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

chapulina
Copy link
Contributor

Going over models on the Gazebo model database, I don't see a single model that uses:

Instead, there are models using:

I suspect that the documentation has been wrong all along, and when the sdf::Material class was created, the error was propagated.

The fix here changes the documentation to the "correct" values, but keeps the "old" values supported to avoid breaking existing code.

@github-actions github-actions bot added the 📜 blueprint Ignition Blueprint label Oct 9, 2020
@codecov-io
Copy link

codecov-io commented Oct 9, 2020

Codecov Report

Merging #383 into sdf8 will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             sdf8     #383      +/-   ##
==========================================
- Coverage   87.56%   87.54%   -0.03%     
==========================================
  Files          54       54              
  Lines        7300     7304       +4     
==========================================
+ Hits         6392     6394       +2     
- Misses        908      910       +2     
Impacted Files Coverage Δ
src/Joint.cc
src/Gui.cc
include/sdf/Element.hh
src/Sensor.cc
src/Noise.cc
src/Utils.hh
src/Lidar.cc
src/Magnetometer.cc
src/Altimeter.cc
src/parser_urdf.cc
... and 97 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 246d978...2ad9da1. Read the comment docs.

Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, gazebo agrees

@j-rivero
Copy link
Contributor

j-rivero commented Oct 9, 2020

@osrf-jenkins run tests please (just checking that new setting in not broken)

@chapulina chapulina merged commit 2917733 into sdf8 Oct 9, 2020
@chapulina chapulina deleted the chapulina/shader_type branch October 9, 2020 17:00
scpeters pushed a commit to scpeters/sdformat that referenced this pull request Oct 9, 2020
scpeters pushed a commit that referenced this pull request Oct 9, 2020
scpeters pushed a commit to scpeters/sdformat that referenced this pull request Oct 9, 2020
scpeters pushed a commit that referenced this pull request Oct 12, 2020
scpeters pushed a commit that referenced this pull request Oct 12, 2020
scpeters pushed a commit that referenced this pull request Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 blueprint Ignition Blueprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants