Repository navigation
Fixed Qt assertions triggered in debug build of Qt. - #928
Merged
Merged
Conversation
Member
|
lgtm |
wjwwood
added a commit
that referenced
this pull request
Oct 13, 2015
Fixed Qt assertions triggered in debug build of Qt.
130s
pushed a commit
to 130s/rviz
that referenced
this pull request
Aug 21, 2024
…os-visualization#928) (ros-visualization#964) Issue: Colors from embedded color based mesh are overridden and not rendered as expected It was a known issue on ROS1 that was fixed by ros-visualization#1424 Kudos to the original author Fix ros-visualization#927 Signed-off-by: Xavier BROQUERE <[email protected]> (cherry picked from commit 2cb54fc) Co-authored-by: Xavier BROQUERE <[email protected]>
DLu
pushed a commit
to DLu/rviz
that referenced
this pull request
Dec 11, 2025
…os-visualization#928) Issue: Colors from embedded color based mesh are overridden and not rendered as expected It was a known issue on ROS1 that was fixed by ros-visualization#1424 Kudos to the original author Fix ros-visualization#927 Signed-off-by: Xavier BROQUERE <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I ran rviz with a debug build of Qt, and it crashed with an assertion failure. This fixes that failure.
A normal (release) build of Qt has the assertions disabled, so this doesn't happen in normal use.
The assertion fails when any of these values are zero and the code continues. You end up with a first = 5, last = 4 situation inside QAbstractItemModel::beginRemoveRows(), which triggers an assertion that first <= last.