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 minimal scene render engine gui name from command line arg #1034

Merged
merged 4 commits into from
Sep 22, 2021

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Sep 17, 2021

Signed-off-by: ahcorde [email protected]

🦟 Bug fix

Summary

The render engine GUI name was not passed to the GUI side, the minimal scene was not aware of the render engine GUI name when it was defined in the command line arguments. This PR fixes the issue and allows to change the render engine of the minimal scene using the command line. If the command line is defined will overwrite the value defined in the sdf.

Require:

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

@ahcorde ahcorde requested a review from chapulina September 17, 2021 10:01
@ahcorde ahcorde self-assigned this Sep 17, 2021
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Sep 17, 2021
@ahcorde ahcorde added needs upstream release Blocked by a release of an upstream library and removed 🏯 fortress Ignition Fortress labels Sep 17, 2021
@chapulina chapulina added beta Targeting beta release of upcoming collection 🏯 fortress Ignition Fortress labels Sep 17, 2021
ahcorde and others added 2 commits September 21, 2021 10:58
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Great idea to set a property on the window, works for me! 👍

I pushed some changes in c6cfb44 so we don't need to deprecated the public functions. Adding an argument that has a default value on a new major release is fine, because it breaks ABI, but doesn't break API.

@chapulina
Copy link
Contributor

@osrf-jenkins run tests pleaseee

@chapulina chapulina removed the needs upstream release Blocked by a release of an upstream library label Sep 22, 2021
@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #1034 (3324fb3) into main (c992f31) will decrease coverage by 0.00%.
The diff coverage is 12.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1034      +/-   ##
==========================================
- Coverage   63.40%   63.39%   -0.01%     
==========================================
  Files         240      240              
  Lines       19548    19551       +3     
==========================================
  Hits        12394    12394              
- Misses       7154     7157       +3     
Impacted Files Coverage Δ
src/ign.cc 71.89% <0.00%> (-0.48%) ⬇️
src/gui/Gui.cc 64.34% <20.00%> (-1.02%) ⬇️

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 c992f31...3324fb3. Read the comment docs.

@chapulina chapulina merged commit b4e2657 into main Sep 22, 2021
@chapulina chapulina deleted the ahcorde/fix/render_engine_gui branch September 22, 2021 02:57
WilliamLewww pushed a commit to WilliamLewww/ign-gazebo that referenced this pull request Dec 7, 2021
…osim#1034)

Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>

Co-authored-by: Louise Poubel <[email protected]>
Signed-off-by: William Lew <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants