Changeset View
Changeset View
Standalone View
Standalone View
plugins/python/plugin_importer/__init__.py
- This file was added.
1 | # Copyright (c) 2019 Rebecca Breu <rebecca@rbreu.de> | ||||
---|---|---|---|---|---|
2 | | ||||
3 | # This file is part of Krita. | ||||
4 | | ||||
5 | # Krita is free software: you can redistribute it and/or modify | ||||
6 | # it under the terms of the GNU General Public License as published by | ||||
7 | # the Free Software Foundation, either version 3 of the License, or | ||||
8 | # (at your option) any later version. | ||||
9 | | ||||
10 | # Krita is distributed in the hope that it will be useful, | ||||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
13 | # GNU General Public License for more details. | ||||
14 | | ||||
15 | # You should have received a copy of the GNU General Public License | ||||
16 | # along with Krita. If not, see <https://www.gnu.org/licenses/>. | ||||
17 | | ||||
18 | import krita | ||||
19 | | ||||
20 | from .plugin_importer_extension import PluginImporterExtension | ||||
21 | | ||||
22 | | ||||
23 | krita_instance = krita.Krita.instance() | ||||
24 | krita_instance.addExtension(PluginImporterExtension(krita_instance)) |