mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 20:14:22 +02:00
Remove custom TerminalSettings Resource type
There is no current public use for this type and it would appear in every resource dropdown. While this type is no longer exposed publically by the plugin it is still used internally by terminal_panel.
This commit is contained in:
parent
f0bd70cb3e
commit
d124f20f36
2 changed files with 6 additions and 3 deletions
|
@ -29,8 +29,6 @@ func _enter_tree():
|
|||
"X11", "Server", "OSX":
|
||||
pty_script = load("%s/nodes/pty/pty.gd" % base_dir)
|
||||
add_custom_type("PTY", "Node", pty_script, pty_icon)
|
||||
var terminal_settings_script = preload("./editor_plugins/terminal/settings/terminal_settings.gd")
|
||||
add_custom_type("TerminalSettings", "Resource", terminal_settings_script, null)
|
||||
terminal_panel = preload("./editor_plugins/terminal/terminal_panel.tscn").instance()
|
||||
terminal_panel.editor_plugin = self
|
||||
terminal_panel.editor_interface = get_editor_interface()
|
||||
|
@ -49,6 +47,5 @@ func _exit_tree():
|
|||
|
||||
if pty_supported:
|
||||
remove_custom_type("PTY")
|
||||
remove_custom_type("TerminalSettings")
|
||||
remove_control_from_bottom_panel(terminal_panel)
|
||||
terminal_panel.free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue