1 [gd_scene load_steps=3 format=3 uid="uid://crke8suvv52c6"]
3 [ext_resource type="Script" uid="uid://b4c8h4m22w5pj" path="res://addons/dialogic/Editor/CharacterEditor/char_edit_p_section_layout.gd" id="1_76vf2"]
4 [ext_resource type="PackedScene" uid="uid://dtimnsj014cu" path="res://addons/dialogic/Editor/Events/Fields/field_vector2.tscn" id="2_c8kyi"]
6 [node name="Layout" type="HFlowContainer"]
9 size_flags_horizontal = 3
10 script = ExtResource("1_76vf2")
12 [node name="Label3" type="Label" parent="."]
14 text = "Ignore Main Scale: "
16 [node name="IgnoreScale" type="CheckBox" parent="."]
17 unique_name_in_owner = true
19 tooltip_text = "This portrait will ignore the main scale."
21 [node name="HBoxContainer" type="HBoxContainer" parent="."]
24 [node name="Label" type="Label" parent="HBoxContainer"]
28 [node name="PortraitScale" type="SpinBox" parent="HBoxContainer"]
29 unique_name_in_owner = true
31 tooltip_text = "A scale to be applied on top of the main scale
32 (unless ignore main scale is pressed)."
37 [node name="HBoxContainer2" type="HBoxContainer" parent="."]
40 [node name="Label2" type="Label" parent="HBoxContainer2"]
44 [node name="PortraitOffset" parent="HBoxContainer2" instance=ExtResource("2_c8kyi")]
45 unique_name_in_owner = true
47 tooltip_text = "Offset that is applied on top of the main portrait offset."
49 [node name="MirrorOption" type="HBoxContainer" parent="."]
52 [node name="Label" type="Label" parent="MirrorOption"]
56 [node name="PortraitMirror" type="CheckBox" parent="MirrorOption"]
57 unique_name_in_owner = true
59 tooltip_text = "Mirroring that is applied on top of the main portrait mirror."
61 [connection signal="toggled" from="IgnoreScale" to="." method="_on_ignore_scale_toggled"]
62 [connection signal="value_changed" from="HBoxContainer/PortraitScale" to="." method="_on_portrait_scale_value_changed"]
63 [connection signal="value_changed" from="HBoxContainer2/PortraitOffset" to="." method="_on_portrait_offset_value_changed"]
64 [connection signal="toggled" from="MirrorOption/PortraitMirror" to="." method="_on_portrait_mirror_toggled"]