From 21497246389a3f7e354b783180e1461bed28e9b8 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Tue, 15 Aug 2023 13:45:54 +0300 Subject: [PATCH] godot4 --- scenes/работа.tscn | 6 +++--- shaders/sector.gdshader | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scenes/работа.tscn b/scenes/работа.tscn index 40e059e..56ce1a7 100644 --- a/scenes/работа.tscn +++ b/scenes/работа.tscn @@ -5,8 +5,8 @@ [ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="2_bl0yt"] [ext_resource type="PackedScene" uid="uid://bq7haw1ypiv48" path="res://scenes/frame.tscn" id="3_l1omj"] [ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button_flat.tscn" id="4_5es2r"] -[ext_resource type="Script" path="res://scenes/frm_threats.gd" id="4_hg23i"] [ext_resource type="Script" path="res://table/table.gd" id="4_mqhcf"] +[ext_resource type="Script" path="res://scenes/scrl_threats.gd" id="6_nr8d7"] [ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="7_22fjb"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5ugj8"] @@ -34,8 +34,7 @@ offset_left = 1121.0 offset_top = 6.0 offset_right = 1594.0 offset_bottom = 642.0 -script = ExtResource("4_hg23i") -text = "Список целей" +script = null metadata/_edit_lock_ = true [node name="рамка-параметры-цели" parent="frm_threats" instance=ExtResource("3_l1omj")] @@ -204,6 +203,7 @@ offset_top = 57.0 offset_right = 464.0 offset_bottom = 306.0 horizontal_scroll_mode = 0 +script = ExtResource("6_nr8d7") [node name="tbl_threats" type="GridContainer" parent="frm_threats/scrl_threats"] layout_mode = 2 diff --git a/shaders/sector.gdshader b/shaders/sector.gdshader index 6597b4d..e8d8cf5 100644 --- a/shaders/sector.gdshader +++ b/shaders/sector.gdshader @@ -11,7 +11,7 @@ uniform float dir: hint_range(0.0, 360.0) = 0.0; uniform float inner_clip: hint_range(0.0, 0.125) = 0.045; -const vec2 center = vec2(0.125, 0.125); /* Центр должен быть в (0.5, 0.5), но это не так */ +const vec2 center = vec2(0.125, 0.125); /* Центр. Должен быть в (0.5, 0.5), но это не так */ const float dsa = 0.0025; /* Относительное расстояние на котором выполняется сглаживание краёв по радиальным линиям */ const float dsr = 0.00025; /* Относительное расстояние на котором выполняется сглаживание краёв по круговым линиям */