Skip to content

Fixed Qt assertions triggered in debug build of Qt. - #928

Merged
wjwwood merged 1 commit into
indigo-develfrom
debug-qt
Oct 13, 2015
Merged

wjwwood merged 1 commit into
indigo-develfrom
debug-qt

Conversation

@hersh

@hersh hersh commented Oct 12, 2015

Copy link
Copy Markdown
Contributor

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.

@wjwwood

wjwwood commented Oct 13, 2015

Copy link
Copy Markdown
Member

lgtm

wjwwood added a commit that referenced this pull request Oct 13, 2015
Fixed Qt assertions triggered in debug build of Qt.
@wjwwood
wjwwood merged commit fc36bd8 into indigo-devel Oct 13, 2015
@wjwwood
wjwwood deleted the debug-qt branch October 13, 2015 00:17
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]>
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.

2 participants