Skip to content

Commit

Permalink
Fix debug leftover in animation export (#3452)
Browse files Browse the repository at this point in the history
* fix debug leftover

* Fixed cppcheck error

* Fixed cppcheck error

* Fixed cppcheck error

* Fixed cppcheck error

* Fixed clang_format*

* reverted changes

* Update LidarWidget.cpp

Co-authored-by: Olivier Michel <[email protected]>
  • Loading branch information
Benjamin Délèze and omichel authored Jul 16, 2021
1 parent 64a3983 commit 4e9cda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webots/nodes/WbImageTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ void WbImageTexture::exportNodeFields(WbVrmlWriter &writer) const {
QString texturePath(WbUrl::computePath(this, "url", mUrl, i));
if (writer.isWritingToFile()) {
QString newUrl = WbUrl::exportTexture(this, mUrl, i, writer);
dynamic_cast<WbMFString *>(urlFieldCopy.value())->setItem(i, "bonjour");
dynamic_cast<WbMFString *>(urlFieldCopy.value())->setItem(i, newUrl);
}

const QString &url(mUrl->item(i));
Expand Down

0 comments on commit 4e9cda0

Please sign in to comment.