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

Prevent duplicate textures being loaded in displacement map #177

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

srmainwaring
Copy link
Owner

Fix an issue where the visual plugin attempted to load the height, normal and tangent map textures twice when using displacement map rendering.

There is still an upstream issue in the GzSceneManager (gz-sim/src/gui/plugins/scene_manager) whereby the visual plugin is loaded twice, causing performance issues, but this change prevents the segmentation fault that caused the GUI to crash.

Applies to the ocean_world.sdf model.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
@srmainwaring srmainwaring added the bug Something isn't working label Jan 2, 2025
@srmainwaring srmainwaring self-assigned this Jan 2, 2025
@srmainwaring srmainwaring merged commit ca8629d into master Jan 2, 2025
10 checks passed
@srmainwaring srmainwaring deleted the prs/pr-fix-duplicate-texture branch January 2, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant