-
Notifications
You must be signed in to change notification settings - Fork 58
Fix crash when hovering the cursor in heightmap.sdf #536
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 crash when hovering the cursor in heightmap.sdf #536
Conversation
Hovering the cursor while in the ign gui when heightmap.sdf is opened would cause a shader compiler error. The triggering condition was having a directional light without shadow nodes. This error is from upstream OGRECave/ogre-next@e40bc53 Signed-off-by: Matias N. Goldberg <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-rendering6 #536 +/- ##
==================================================
- Coverage 54.38% 54.37% -0.02%
==================================================
Files 198 198
Lines 20087 20096 +9
==================================================
+ Hits 10925 10927 +2
- Misses 9162 9169 +7
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.
hmm I don't get the shader compile error when I ran heightmap.sdf and hover the mouse over the terrain. Changes look fine though.
Shortly after I submitted the PR I remembered the terrain shadows on objects aren't working because the listener is being accidentally overriden (we discussed this, has a simple solution for Fortress) so it doesn't crash because it's not working. A follow up PR can fix that though |
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1 |
Summary
Hovering the cursor while in the ign gui when heightmap.sdf is opened
would cause a shader compiler error.
The triggering condition was having a directional light without shadow
nodes.
This error is from upstream
OGRECave/ogre-next@e40bc53
Signed-off-by: Matias N. Goldberg [email protected]
🦟 Bug fix
No ticket was assigned for this bug
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.