-
Notifications
You must be signed in to change notification settings - Fork 51
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
Added a method to show the head on arrows and axis #95
Conversation
Signed-off-by: ahcorde <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
======================================
Coverage 7.56% 7.56%
======================================
Files 26 26
Lines 1744 1744
======================================
Hits 132 132
Misses 1612 1612 Continue to review full report at Codecov.
|
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. Just minor style comments. Can you also update changelog?
template <class T> | ||
void BaseAxisVisual<T>::ShowAxisHead(bool b) | ||
{ | ||
for (unsigned int i = 0; i < this->ChildCount(); ++i) { |
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.
style nitpick, {
on new line
there is also a minor codecheck error here:
https://build.osrfoundation.org/job/ignition_rendering-ci-pr_any-ubuntu_auto-amd64/629/cppcheckResult/
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
As discussed in the PR gazebosim/gz-sim#150 it makes sense to show only the line of the arrow. These methods allow to hidde the head of the arrow and axis.
Signed-off-by: ahcorde [email protected]