From 4e9cda0a026855109b505f4f38a2e61673c74a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20D=C3=A9l=C3=A8ze?= Date: Fri, 16 Jul 2021 14:01:42 +0200 Subject: [PATCH] Fix debug leftover in animation export (#3452) * 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 --- src/webots/nodes/WbImageTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webots/nodes/WbImageTexture.cpp b/src/webots/nodes/WbImageTexture.cpp index 029f3d620f4..b68568eb9b7 100644 --- a/src/webots/nodes/WbImageTexture.cpp +++ b/src/webots/nodes/WbImageTexture.cpp @@ -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(urlFieldCopy.value())->setItem(i, "bonjour"); + dynamic_cast(urlFieldCopy.value())->setItem(i, newUrl); } const QString &url(mUrl->item(i));