Skip to content

Commit 2c712c4

Browse files
authored
Merge pull request #6931 from cyberbotics/sync-master-23d9d8bae
Merge master into develop
2 parents 8b37547 + f61bc32 commit 2c712c4

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

resources/translations/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1996-2025 Cyberbotics Ltd.
1+
# Copyright 1996-2026 Cyberbotics Ltd.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -37,9 +37,14 @@ include $(WEBOTS_HOME_PATH)/resources/Makefile.os.include
3737
WEBOTS_SRC_PATH = $(WEBOTS_HOME_PATH)/src/webots
3838

3939
ifeq ($(OSTYPE),windows)
40+
ifdef CI
4041
LUPDATE = lupdate-qt6
4142
LRELEASE = lrelease-qt6
4243
else
44+
LUPDATE = lupdate
45+
LRELEASE = lrelease
46+
endif
47+
else
4348
QT_BINARIES_PATH = $(WEBOTS_HOME_PATH)/bin/qt
4449

4550
ifeq ($(OSTYPE),linux)

scripts/install/msys64_installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare -a BASE_PACKAGES=(
1515
"zip" # robotbenchmark square path
1616
"mingw-w64-x86_64-qt6-base" # Webots
1717
"mingw-w64-x86_64-qt6-declarative" # Webots
18-
"mingw-w64-x86_64-qt6-tools" # Webots (translation: lrelease-qt6 and lupdate-qt6)
18+
"mingw-w64-x86_64-qt6-tools" # Webots (translation: lrelease and lupdate)
1919
"mingw-w64-x86_64-qt6-translations" # Webots
2020
"mingw-w64-x86_64-qt6-websockets" # Webots
2121
"mingw-w64-x86_64-libzip" # Webots

src/webots/nodes/WbBackground.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,12 +638,11 @@ void WbBackground::applySkyBoxToWren() {
638638
} else { // otherwise, use a small uniform texture with the color of the sky
639639
cm = wr_texture_cubemap_new();
640640
size = 2;
641-
const int size2 = size * size;
642641
wr_texture_set_internal_format(WR_TEXTURE(cm), WR_TEXTURE_INTERNAL_FORMAT_RGBA8);
643-
unsigned int data[size2];
642+
unsigned int data[4];
644643
const WbRgb &c = skyColor();
645644
unsigned int color = c.redByte() * 0x10000 + c.greenByte() * 0x100 + c.blueByte();
646-
for (int i = 0; i < size2; i++)
645+
for (int i = 0; i < 4; i++)
647646
data[i] = color;
648647
for (int i = 0; i < 6; i++)
649648
wr_texture_cubemap_set_data(cm, reinterpret_cast<const char *>(data), static_cast<WrTextureOrientation>(i));

0 commit comments

Comments
 (0)