summaryrefslogtreecommitdiff
path: root/addons/crt_shader/crt_shader.gd
diff options
context:
space:
mode:
Diffstat (limited to 'addons/crt_shader/crt_shader.gd')
-rw-r--r--addons/crt_shader/crt_shader.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/crt_shader/crt_shader.gd b/addons/crt_shader/crt_shader.gd
index 49e712e..50053a9 100644
--- a/addons/crt_shader/crt_shader.gd
+++ b/addons/crt_shader/crt_shader.gd
@@ -1,10 +1,10 @@
-tool
+@tool
extends EditorPlugin
func _enter_tree():
- pass
+ add_custom_type("CRTScreen", "ColorRect", preload("res://addons/crt_shader/crt_screen.gd"), preload("res://addons/crt_shader/icon.png"))
func _exit_tree():
- pass
+ remove_custom_type("CRTScreen")