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

ogre 1.10: prevent loading resource under same name twice #1094

Conversation

de-vri-es
Copy link
Contributor

In Ogre 1.10 it is now an error to load a resource under the same name twice, even when it is the same resource.

This seems a bit odd when resources are automatically loaded from shader programs, considering they are supposed to be able to re-use functions from other files. That's exactly what was happening with some shaders included with rviz, as also described in #1049.

This PR applies the fix described there by @phil0stine.

@de-vri-es
Copy link
Contributor Author

Apologies, I just noticed #1063. I'll close this PR.

@de-vri-es de-vri-es closed this May 1, 2017
130s pushed a commit to 130s/rviz that referenced this pull request Aug 21, 2024
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit d5b274fae5829ad43b12abbbb1f29f773fa6a6ce)

Co-authored-by: Alejandro Hernández Cordero <alejandro@openrobotics.org>
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