This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Jessist/addons/godot-krita-importer/godot-krita-importer.gd

22 lines
618 B
GDScript3
Raw Normal View History

2022-06-18 13:05:48 +02:00
# ############################################################################ #
# Copyright © 2022 Piet Bronders <piet.bronders@gmail.com>
# Licensed under the MIT License.
# See LICENSE in the project root for license information.
# ############################################################################ #
tool
extends EditorPlugin
var import_plugin = null
func get_name() -> String:
return "Godot Krita Importer"
func _enter_tree():
import_plugin = preload("krita_import_plugin.gd").new()
add_import_plugin(import_plugin)
func _exit_tree():
remove_import_plugin(import_plugin)
import_plugin = null