mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
759f6eff73
every now and then, opening the project in Godot would throw an error saying that `res://graph_node_renderer/graph_node_renderer.tscn` scene was corrupted and could not be opened. the scene would refuse to open in the editor, throwing the same error. however, the app ran, instantiating the scene like nothing was wrong. the error would sometimes go away after a few restarts. after many hours of searching up about it, i think i identified the problem. that specific scene file has nothing actually corrupted about it, and deleting and re-adding it solved the problem until some other random next time it popped up. see the relevant issues on godot's github: https://github.com/godotengine/godot/issues/85907 https://github.com/godotengine/godot/issues/79545 https://github.com/godotengine/godot/issues/70985 for the time being, i've replaced most relevant scene preloads with exports. hopefully it doesn't happen now. Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/70 Co-authored-by: Lera Elvoé <yagich@poto.cafe> Co-committed-by: Lera Elvoé <yagich@poto.cafe>
198 lines
7.5 KiB
Text
198 lines
7.5 KiB
Text
[gd_scene load_steps=24 format=3 uid="uid://duaah5x0jhkn6"]
|
|
|
|
[ext_resource type="Script" path="res://graph_node_renderer/deck_holder_renderer.gd" id="1_67g2g"]
|
|
[ext_resource type="PackedScene" uid="uid://b84f2ngtcm5b8" path="res://graph_node_renderer/tab_container_custom.tscn" id="1_s3ug2"]
|
|
[ext_resource type="Theme" uid="uid://dqqdqscid2iem" path="res://graph_node_renderer/default_theme.tres" id="1_tgul2"]
|
|
[ext_resource type="PackedScene" uid="uid://b18qpb48df14l" path="res://graph_node_renderer/deck_renderer_graph_edit.tscn" id="3_uf16c"]
|
|
[ext_resource type="PackedScene" uid="uid://dayri1ejk20bc" path="res://graph_node_renderer/bottom_dock.tscn" id="4_gwnhy"]
|
|
[ext_resource type="Script" path="res://addons/no-obs-ws/NoOBSWS.gd" id="4_nu72u"]
|
|
[ext_resource type="PackedScene" uid="uid://dm7sc6364j84i" path="res://graph_node_renderer/debug_decks_list.tscn" id="4_ux0jt"]
|
|
[ext_resource type="Script" path="res://addons/no_twitch/twitch_connection.gd" id="5_3n36q"]
|
|
[ext_resource type="PackedScene" uid="uid://eioso6jb42jy" path="res://graph_node_renderer/obs_websocket_setup_dialog.tscn" id="5_uo2gj"]
|
|
[ext_resource type="PackedScene" uid="uid://bq2lxmbnic4lc" path="res://graph_node_renderer/twitch_setup_dialog.tscn" id="7_7rhap"]
|
|
[ext_resource type="PackedScene" uid="uid://cuwou2aa7qfc2" path="res://graph_node_renderer/unsaved_changes_dialog_single_deck.tscn" id="8_qf6ve"]
|
|
[ext_resource type="PackedScene" uid="uid://cvvkj138fg8jg" path="res://graph_node_renderer/unsaved_changes_dialog.tscn" id="9_4n0q6"]
|
|
[ext_resource type="PackedScene" uid="uid://bu466w2w3q08c" path="res://graph_node_renderer/about_dialog.tscn" id="11_6ln7n"]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_giamc"]
|
|
device = -1
|
|
ctrl_pressed = true
|
|
keycode = 78
|
|
unicode = 110
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_30rq6"]
|
|
events = [SubResource("InputEventKey_giamc")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_cyjf4"]
|
|
device = -1
|
|
ctrl_pressed = true
|
|
keycode = 79
|
|
unicode = 111
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_m48tj"]
|
|
events = [SubResource("InputEventKey_cyjf4")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_jgr3p"]
|
|
device = -1
|
|
ctrl_pressed = true
|
|
keycode = 83
|
|
unicode = 115
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_xr6s4"]
|
|
events = [SubResource("InputEventKey_jgr3p")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_762xj"]
|
|
device = -1
|
|
shift_pressed = true
|
|
ctrl_pressed = true
|
|
keycode = 83
|
|
unicode = 83
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_myxuq"]
|
|
events = [SubResource("InputEventKey_762xj")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_exx3o"]
|
|
device = -1
|
|
ctrl_pressed = true
|
|
keycode = 87
|
|
unicode = 119
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_46v8y"]
|
|
events = [SubResource("InputEventKey_exx3o")]
|
|
|
|
[node name="DeckHolderRenderer" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tgul2")
|
|
script = ExtResource("1_67g2g")
|
|
DECK_SCENE = ExtResource("3_uf16c")
|
|
DEBUG_DECKS_LIST = ExtResource("4_ux0jt")
|
|
new_deck_shortcut = SubResource("Shortcut_30rq6")
|
|
open_deck_shortcut = SubResource("Shortcut_m48tj")
|
|
save_deck_shortcut = SubResource("Shortcut_xr6s4")
|
|
save_deck_as_shortcut = SubResource("Shortcut_myxuq")
|
|
close_deck_shortcut = SubResource("Shortcut_46v8y")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 2
|
|
theme_override_constants/margin_top = 2
|
|
theme_override_constants/margin_right = 2
|
|
theme_override_constants/margin_bottom = 2
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
split_offset = 460
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MenuBar" type="MenuBar" parent="MarginContainer/VSplitContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="File" type="PopupMenu" parent="MarginContainer/VSplitContainer/VBoxContainer/MenuBar"]
|
|
unique_name_in_owner = true
|
|
item_count = 8
|
|
item_0/text = "New Deck"
|
|
item_0/id = 0
|
|
item_1/text = "Open Deck"
|
|
item_1/id = 1
|
|
item_2/text = ""
|
|
item_2/id = 2
|
|
item_2/separator = true
|
|
item_3/text = "Save Deck"
|
|
item_3/id = 3
|
|
item_4/text = "Save Deck As"
|
|
item_4/id = 4
|
|
item_5/text = ""
|
|
item_5/id = 5
|
|
item_5/separator = true
|
|
item_6/text = "Close Deck"
|
|
item_6/id = 6
|
|
item_7/text = "Recent Decks"
|
|
item_7/id = 7
|
|
item_7/separator = true
|
|
|
|
[node name="Edit" type="PopupMenu" parent="MarginContainer/VSplitContainer/VBoxContainer/MenuBar"]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Connections" type="PopupMenu" parent="MarginContainer/VSplitContainer/VBoxContainer/MenuBar"]
|
|
unique_name_in_owner = true
|
|
item_count = 2
|
|
item_0/text = "OBS..."
|
|
item_0/id = 0
|
|
item_1/text = "Twitch.."
|
|
item_1/id = 1
|
|
|
|
[node name="Debug" type="PopupMenu" parent="MarginContainer/VSplitContainer/VBoxContainer/MenuBar"]
|
|
unique_name_in_owner = true
|
|
item_count = 2
|
|
item_0/text = "Decks..."
|
|
item_0/id = 0
|
|
item_1/text = "Embed subwindows"
|
|
item_1/checkable = 1
|
|
item_1/checked = true
|
|
item_1/id = 1
|
|
|
|
[node name="Help" type="PopupMenu" parent="MarginContainer/VSplitContainer/VBoxContainer/MenuBar"]
|
|
unique_name_in_owner = true
|
|
item_count = 2
|
|
item_0/text = "Online Documentation"
|
|
item_0/id = 0
|
|
item_1/text = "About..."
|
|
item_1/id = 1
|
|
|
|
[node name="TabContainerCustom" parent="MarginContainer/VSplitContainer/VBoxContainer" instance=ExtResource("1_s3ug2")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="BottomDock" parent="MarginContainer/VSplitContainer" instance=ExtResource("4_gwnhy")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="FileDialog" type="FileDialog" parent="."]
|
|
size = Vector2i(776, 447)
|
|
mode_overrides_title = false
|
|
access = 2
|
|
filters = PackedStringArray("*.deck;StreamGraph Decks")
|
|
use_native_dialog = true
|
|
|
|
[node name="Connections" type="Node" parent="."]
|
|
|
|
[node name="NoOBSWS" type="Node" parent="Connections"]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("4_nu72u")
|
|
|
|
[node name="Twitch_Connection" type="Node" parent="Connections"]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("5_3n36q")
|
|
|
|
[node name="OBSWebsocketSetupDialog" parent="." instance=ExtResource("5_uo2gj")]
|
|
|
|
[node name="Twitch_Setup_Dialog" parent="." instance=ExtResource("7_7rhap")]
|
|
|
|
[node name="UnsavedChangesDialogSingleDeck" parent="." instance=ExtResource("8_qf6ve")]
|
|
|
|
[node name="UnsavedChangesDialog" parent="." instance=ExtResource("9_4n0q6")]
|
|
|
|
[node name="AboutDialog" parent="." instance=ExtResource("11_6ln7n")]
|
|
unique_name_in_owner = true
|
|
|
|
[connection signal="id_pressed" from="MarginContainer/VSplitContainer/VBoxContainer/MenuBar/File" to="." method="_on_file_id_pressed"]
|
|
[connection signal="id_pressed" from="MarginContainer/VSplitContainer/VBoxContainer/MenuBar/Connections" to="." method="_on_connections_id_pressed"]
|
|
[connection signal="id_pressed" from="MarginContainer/VSplitContainer/VBoxContainer/MenuBar/Debug" to="." method="_on_debug_id_pressed"]
|
|
[connection signal="id_pressed" from="MarginContainer/VSplitContainer/VBoxContainer/MenuBar/Help" to="." method="_on_help_id_pressed"]
|
|
[connection signal="connect_button_pressed" from="OBSWebsocketSetupDialog" to="." method="_on_obs_websocket_setup_dialog_connect_button_pressed"]
|
|
[connection signal="confirmed" from="UnsavedChangesDialogSingleDeck" to="." method="_on_unsaved_changes_dialog_single_deck_confirmed"]
|
|
[connection signal="custom_action" from="UnsavedChangesDialogSingleDeck" to="." method="_on_unsaved_changes_dialog_single_deck_custom_action"]
|
|
[connection signal="confirmed" from="UnsavedChangesDialog" to="." method="_on_unsaved_changes_dialog_confirmed"]
|