diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2025-01-31 22:32:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-31 22:32:58 -0500 |
| commit | 384db8235ebf23d419a31b32184b810657fa980e (patch) | |
| tree | 722daa7d1172b74ad3bbc1f1aba82ed5b0dc3a7f /lib/extensions/base.py | |
| parent | 235fa3fc5911b649a1dbbeb2ea44a2fb02937b0a (diff) | |
add development-only extension functionality (#3470)
Diffstat (limited to 'lib/extensions/base.py')
| -rw-r--r-- | lib/extensions/base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/extensions/base.py b/lib/extensions/base.py index 4a2895d0..91afbc38 100644 --- a/lib/extensions/base.py +++ b/lib/extensions/base.py @@ -18,6 +18,10 @@ from ..update import update_inkstitch_document class InkstitchExtension(inkex.EffectExtension): """Base class for Inkstitch extensions. Not intended for direct use.""" + # Set to True to hide this extension from release builds of Ink/Stitch. It will + # only be available in development installations. + DEVELOPMENT_ONLY = False + def load(self, *args, **kwargs): document = super().load(*args, **kwargs) update_inkstitch_document(document) |
