From cef11684c7ac4c42f5c5cedc80ebf0b8980df215 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 23 Oct 2025 14:16:45 +0300 Subject: [PATCH 1/4] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5.=20null=20reference?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/button-flat/nine-patch-button.gd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scenes/button-flat/nine-patch-button.gd b/scenes/button-flat/nine-patch-button.gd index 10a93a27..7b9ed907 100644 --- a/scenes/button-flat/nine-patch-button.gd +++ b/scenes/button-flat/nine-patch-button.gd @@ -38,9 +38,10 @@ var _pressed: = false @export var disabled: bool = false: set(val): disabled = val - $button.set_disabled(val) - $back.disabled = val - $state.modulate.a = 0.5 if val else 1.0 + if is_inside_tree(): + $button.set_disabled(val) + $back.disabled = val + $state.modulate.a = 0.5 if val else 1.0 @export var pressed: bool = false: From 5c67baa10c43f96323bb2adc5ac296c7714c3332 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 23 Oct 2025 14:30:50 +0300 Subject: [PATCH 2/4] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20=D0=92=D0=B0=D0=B6=D0=BD=D0=BE=D0=B5=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=8F=D1=81=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14d22449..3fc369dd 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ - [Прибор СПТ-25](http://gitea.srez.local:3000/Maxim/SPT-25) - [ПО 5П28 Пульт П16](http://gitea.srez.local:3000/MaD_CaT/imi-5p28) - [ПО 5П28 АКНГ](http://gitea.srez.local:3000/sasha80/imi-5p28-navi) +- [Трасса](http://gitea.srez.local:3000/lepshiy/imi-trassa) + +# Автоматизация тестирования + - [Запуск имитаторов](http://gitea.srez.local:3000/sasha80/uarep-ctl-test-launcher) # Сборка исполняемого файла из консоли @@ -30,4 +34,5 @@ # Разработка - После клонирования запустить скрипт `git-hooks-config.sh` -- Нужно обновить `settings.json` \ No newline at end of file +- В среде **Windows** запуск скрипта `git-hooks-config.sh` производить из оболочки `git bash` +- Нужно обновить `settings.json` From daaee9ec739dcef3b320f823b8d4caf718493372 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 23 Oct 2025 14:45:25 +0300 Subject: [PATCH 3/4] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5.=20=D0=A1=D0=B1=D0=BE=D0=B9=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D0=BE=D1=82=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0=20(=D0=B2=D0=BE?= =?UTF-8?q?=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=B0=D1=8F=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D1=87=D0=B8=D0=BD=D0=B0=20-=20=D0=BF=D0=BE=D0=B2=D1=80=D0=B5?= =?UTF-8?q?=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B5=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B2=20SerialPort)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/network.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/network.gd b/scripts/network.gd index a8950163..dea87069 100644 --- a/scripts/network.gd +++ b/scripts/network.gd @@ -1,4 +1,4 @@ -@tool +#@tool class_name Network extends Node const YAU07_PROTO: = {'yau07tx': yau07.YaU07} From d04eda024b8c46bb9b347d6ec8874d9de86fb908 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 23 Oct 2025 14:59:35 +0300 Subject: [PATCH 4/4] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20=D0=92=D0=B0=D0=B6=D0=BD=D0=BE=D0=B5=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=8F=D1=81=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ip-tables-navigation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip-tables-navigation.sh b/ip-tables-navigation.sh index 70762f9b..960abb7e 100644 --- a/ip-tables-navigation.sh +++ b/ip-tables-navigation.sh @@ -61,8 +61,8 @@ if [[ -z "$IP_PORT_IN" ]]; then fi # Дублирование трафика на другой порт. Перенаправить копии входящих UDP-пакетов -# с порта ${IP_PORT_IN} на порт ${IP_PORT_OUT} (или любой другой), чтобы оригинальная программа -# продолжала работать с портом ${IP_PORT_IN}, а копии пакетов отправлялись на ${IP_PORT_OUT}: +# с порта ${IP_PORT_IN} на порт ${IP_PORT_OUT}, чтобы другой процесс продолжал +# работать с портом ${IP_PORT_IN}, а копии пакетов отправлялись на ${IP_PORT_OUT}: echo "${SUDO_PASS}" | sudo -S iptables -t nat -A PREROUTING -p udp --dport "${IP_PORT_IN}" -j REDIRECT --to-ports "${IP_PORT_OUT}" echo "${SUDO_PASS}" | sudo -S iptables -A INPUT -p udp --dport "${IP_PORT_IN}" -j ACCEPT echo "${SUDO_PASS}" | sudo -S iptables -t nat -L -n -v