File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 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
3737WEBOTS_SRC_PATH = $(WEBOTS_HOME_PATH ) /src/webots
3838
3939ifeq ($(OSTYPE ) ,windows)
40+ ifdef CI
4041LUPDATE = lupdate-qt6
4142LRELEASE = lrelease-qt6
4243else
44+ LUPDATE = lupdate
45+ LRELEASE = lrelease
46+ endif
47+ else
4348QT_BINARIES_PATH = $(WEBOTS_HOME_PATH ) /bin/qt
4449
4550ifeq ($(OSTYPE ) ,linux)
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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));
You can’t perform that action at this time.
0 commit comments