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

Don't set visual scale for point markers #321

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Conversation

chapulina
Copy link
Contributor

🦟 Bug fix

Summary

This is a follow up to #317. The scale is currently being applied to the entire visual, so points end up further apart as we increase it. I'm not sure if this is a use case that anyone would rely on. My suggestion is to skip setting the visual scale for points, and use the scale just for point size.

Before After
before_ptscale after_ptscale

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

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

@chapulina chapulina added the bug Something isn't working label Nov 25, 2021
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Nov 25, 2021
@codecov
Copy link

codecov bot commented Nov 25, 2021

Codecov Report

Merging #321 (fb12f5c) into ign-gui6 (d790029) will increase coverage by 0.11%.
The diff coverage is 85.45%.

❗ Current head fb12f5c differs from pull request most recent head 875b551. Consider uploading reports for the commit 875b551 to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##           ign-gui6     #321      +/-   ##
============================================
+ Coverage     65.63%   65.75%   +0.11%     
============================================
  Files            32       34       +2     
  Lines          4723     4754      +31     
============================================
+ Hits           3100     3126      +26     
- Misses         1623     1628       +5     
Impacted Files Coverage Δ
include/ignition/gui/GuiEvents.hh 100.00% <ø> (ø)
src/plugins/world_control/WorldControl.cc 76.86% <75.00%> (-2.34%) ⬇️
src/GuiEvents.cc 100.00% <100.00%> (ø)
src/plugins/marker_manager/MarkerManager.cc 60.86% <100.00%> (+0.26%) ⬆️
...plugins/world_control/WorldControlEventListener.cc 100.00% <100.00%> (ø)
...plugins/world_control/WorldControlEventListener.hh 100.00% <100.00%> (ø)

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 d695669...875b551. Read the comment docs.

@chapulina chapulina merged commit f8af480 into ign-gui6 Nov 29, 2021
@chapulina chapulina deleted the chapulina/6/pt_scale branch November 29, 2021 16:58
chapulina added a commit that referenced this pull request Dec 8, 2021
* Added log storing for ign-gui (#272)

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

Co-authored-by: Louise Poubel <[email protected]>

* Don't crash if a plugin has invalid QML (#315)

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

* Set marker point size from message (#317)

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

* Don't set visual scale for point markers (#321)

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

* Fix TopicEcho plugin message display (#322)

- Change binding of width property in delegate (see: https://stackoverflow.com/questions/63767669/parent-is-null-in-listview-delegate-after-upgrade-to-qt-5-15)
- Use scoped reference to model.display (see: https://forum.qt.io/topic/92085/using-qstringlistmodel-as-model-in-listview)

Signed-off-by: Rhys Mainwaring <[email protected]>

* Use qmldir to define QML module with IgnSpinBox (#319)

Signed-off-by: William Wedler <[email protected]>
Co-authored-by: Louise Poubel <[email protected]>

* Add PreRender event to MinimalScene (#325)

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

* Offer a way to disable warnings on marker manager (#326)

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

Co-authored-by: Alejandro Hernández Cordero <[email protected]>

* Fix codecheck (#329)

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

* Fix codecheck (#332)

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

* Grid config: set values from startup and improve layout (#324)

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

Co-authored-by: Nikhil Nair <[email protected]>
Co-authored-by: Rhys Mainwaring <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Co-authored-by: Jenn Nguyen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants