Skip to content

Commit 464967d

Browse files
authored
Merge pull request #6679 from cyberbotics/sync-master-e6987d266
Merge master into develop
2 parents a4bd745 + d1a27c0 commit 464967d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/reference/changelog-r2024.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ Released on December **th, 2023.
3939
- Fixed crash on macos when closing Webots under some circumstances ([#6635](https://github.com/cyberbotics/webots/pull/6635)).
4040
- Fixed error on macos when when putting displays and cameras in separate windows ([#6635](https://github.com/cyberbotics/webots/pull/6635)).
4141
- Fixed crash when `wb_supervisor_field_get_name` was called with NULL ([#6647](https://github.com/cyberbotics/webots/pull/6647)).
42+
- Fixed bug where the wrong y coordinate was used for one corner of the box drawn to represent a box-plane collision ([#6677](https://github.com/cyberbotics/webots/pull/6677)).
4243
- Fixed handling of remote assets from unofficial sources ([#6585](https://github.com/cyberbotics/webots/pull/6585)).

src/webots/app/WbContactPointsRepresentation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ void WbContactPointsRepresentation::updateRendering() {
182182
odeContacts[cg0 + 3].contactGeom().pos[2]);
183183
addVertex(mContactMesh, index++, odeContacts[cg0 + 3].contactGeom().pos[0], odeContacts[cg0 + 3].contactGeom().pos[1],
184184
odeContacts[cg0 + 3].contactGeom().pos[2]);
185-
addVertex(mContactMesh, index++, odeContacts[cg0 + 2].contactGeom().pos[0], odeContacts[cg0 + 1].contactGeom().pos[1],
185+
addVertex(mContactMesh, index++, odeContacts[cg0 + 2].contactGeom().pos[0], odeContacts[cg0 + 2].contactGeom().pos[1],
186186
odeContacts[cg0 + 2].contactGeom().pos[2]);
187-
addVertex(mContactMesh, index++, odeContacts[cg0 + 2].contactGeom().pos[0], odeContacts[cg0 + 1].contactGeom().pos[1],
187+
addVertex(mContactMesh, index++, odeContacts[cg0 + 2].contactGeom().pos[0], odeContacts[cg0 + 2].contactGeom().pos[1],
188188
odeContacts[cg0 + 2].contactGeom().pos[2]);
189189
addVertex(mContactMesh, index++, odeContacts[cg0].contactGeom().pos[0], odeContacts[cg0].contactGeom().pos[1],
190190
odeContacts[cg0].contactGeom().pos[2]);

0 commit comments

Comments
 (0)