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 transparency of RobotLinks #1751

Merged
merged 1 commit into from
Jun 4, 2022

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Jun 4, 2022

If a RobotLink has multiple visuals with different alpha values, only the last one was actually used (stored in material_alpha_).
Instead, store the original material and use alpha from there.

before after
image image

If a RobotLink has multiple visuals with different alpha values,
only the last one was actually used (stored in material_alpha_).
Instead, store the original material and use alpha from there.
@rhaschke rhaschke merged commit 134828f into ros-visualization:noetic-devel Jun 4, 2022
rsinnet pushed a commit to MisoRobotics/rviz that referenced this pull request Jul 20, 2022
If a RobotLink has multiple visuals with different alpha values,
only the last one was actually used (stored in material_alpha_).
Instead, store the original material and use alpha from there.
rsinnet pushed a commit to MisoRobotics/rviz that referenced this pull request Jul 20, 2022
If a RobotLink has multiple visuals with different alpha values,
only the last one was actually used (stored in material_alpha_).
Instead, store the original material and use alpha from there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant