修复摄像机穿模
This commit is contained in:
+30
-31
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene format=3 uid="uid://bpjy7rb0tg6t6"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/paint_panel.gd" id="1_paint"]
|
||||
[ext_resource type="Script" uid="uid://cjxxd2m1w00y5" path="res://ui/paint_panel.gd" id="1_paint"]
|
||||
|
||||
[node name="PaintPanel" type="Control"]
|
||||
[node name="PaintPanel" type="Control" unique_id=891200937]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -11,7 +11,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_paint")
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="."]
|
||||
[node name="Dim" type="ColorRect" parent="." unique_id=2123131229]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -20,7 +20,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.03, 0.06, 0.14, 0.72)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
[node name="Center" type="CenterContainer" parent="." unique_id=209338815]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -29,35 +29,35 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Center"]
|
||||
[node name="Panel" type="PanelContainer" parent="Center" unique_id=1498072815]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Center/Panel"]
|
||||
[node name="Margin" type="MarginContainer" parent="Center/Panel" unique_id=1809312982]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 18
|
||||
theme_override_constants/margin_top = 14
|
||||
theme_override_constants/margin_right = 18
|
||||
theme_override_constants/margin_bottom = 14
|
||||
|
||||
[node name="Box" type="VBoxContainer" parent="Center/Panel/Margin"]
|
||||
[node name="Box" type="VBoxContainer" parent="Center/Panel/Margin" unique_id=2141345385]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Title" type="Label" parent="Center/Panel/Margin/Box"]
|
||||
[node name="Title" type="Label" parent="Center/Panel/Margin/Box" unique_id=1011886784]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "画脸"
|
||||
|
||||
[node name="Row" type="HBoxContainer" parent="Center/Panel/Margin/Box"]
|
||||
[node name="Row" type="HBoxContainer" parent="Center/Panel/Margin/Box" unique_id=2134067517]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="CanvasStack" type="Control" parent="Center/Panel/Margin/Box/Row"]
|
||||
[node name="CanvasStack" type="Control" parent="Center/Panel/Margin/Box/Row" unique_id=119694491]
|
||||
custom_minimum_size = Vector2(420, 420)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="SkinRect" type="ColorRect" parent="Center/Panel/Margin/Box/Row/CanvasStack"]
|
||||
[node name="SkinRect" type="ColorRect" parent="Center/Panel/Margin/Box/Row/CanvasStack" unique_id=1261574717]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -68,7 +68,7 @@ grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.537255, 0.701961, 1, 1)
|
||||
|
||||
[node name="PresetRect" type="TextureRect" parent="Center/Panel/Margin/Box/Row/CanvasStack"]
|
||||
[node name="PresetRect" type="TextureRect" parent="Center/Panel/Margin/Box/Row/CanvasStack" unique_id=689779980]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -79,7 +79,7 @@ grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
|
||||
[node name="StrokeRect" type="TextureRect" parent="Center/Panel/Margin/Box/Row/CanvasStack"]
|
||||
[node name="StrokeRect" type="TextureRect" parent="Center/Panel/Margin/Box/Row/CanvasStack" unique_id=903984536]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -90,25 +90,24 @@ grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Tools" type="VBoxContainer" parent="Center/Panel/Margin/Box/Row"]
|
||||
[node name="Tools" type="VBoxContainer" parent="Center/Panel/Margin/Box/Row" unique_id=1782799126]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="ColorButton" type="ColorPickerButton" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
[node name="ColorButton" type="ColorPickerButton" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=1604022405]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(160, 36)
|
||||
layout_mode = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="WidthRow" type="HBoxContainer" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
[node name="WidthRow" type="HBoxContainer" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=88372989]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Label" type="Label" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow"]
|
||||
[node name="Label" type="Label" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow" unique_id=1544185599]
|
||||
layout_mode = 2
|
||||
text = "粗细"
|
||||
|
||||
[node name="WidthSlider" type="HSlider" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow"]
|
||||
[node name="WidthSlider" type="HSlider" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow" unique_id=1487429877]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(110, 0)
|
||||
layout_mode = 2
|
||||
@@ -116,49 +115,49 @@ min_value = 2.0
|
||||
max_value = 48.0
|
||||
value = 12.0
|
||||
|
||||
[node name="WidthLabel" type="Label" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow"]
|
||||
[node name="WidthLabel" type="Label" parent="Center/Panel/Margin/Box/Row/Tools/WidthRow" unique_id=1267285216]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(52, 0)
|
||||
layout_mode = 2
|
||||
text = "12 px"
|
||||
|
||||
[node name="EraserToggle" type="CheckButton" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
[node name="EraserToggle" type="CheckButton" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=503516949]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "橡皮"
|
||||
|
||||
[node name="ClearButton" type="Button" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
[node name="ClearButton" type="Button" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=958943755]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "清空"
|
||||
|
||||
[node name="Hint" type="Label" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(160, 0)
|
||||
[node name="Hint" type="Label" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=1662983212]
|
||||
modulate = Color(1, 1, 1, 0.65)
|
||||
custom_minimum_size = Vector2(160, 0)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "在左边画布上直接画。
|
||||
橡皮擦掉笔画,露出来的是底下的脸。"
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="NameEdit" type="LineEdit" parent="Center/Panel/Margin/Box/Row/Tools"]
|
||||
[node name="NameEdit" type="LineEdit" parent="Center/Panel/Margin/Box/Row/Tools" unique_id=240695113]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(160, 36)
|
||||
layout_mode = 2
|
||||
placeholder_text = "表情名称(可留空)"
|
||||
|
||||
[node name="Bottom" type="HBoxContainer" parent="Center/Panel/Margin/Box"]
|
||||
[node name="Bottom" type="HBoxContainer" parent="Center/Panel/Margin/Box" unique_id=401906608]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 2
|
||||
|
||||
[node name="CancelButton" type="Button" parent="Center/Panel/Margin/Box/Bottom"]
|
||||
[node name="CancelButton" type="Button" parent="Center/Panel/Margin/Box/Bottom" unique_id=1172815596]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 40)
|
||||
layout_mode = 2
|
||||
text = "取消"
|
||||
|
||||
[node name="DoneButton" type="Button" parent="Center/Panel/Margin/Box/Bottom"]
|
||||
[node name="DoneButton" type="Button" parent="Center/Panel/Margin/Box/Bottom" unique_id=479306162]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 40)
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user