-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 'New Addon' function to work with 4.2 (#166)
* Updated auto_load.py to work when used in an extension as well as in a legacy addon * Added dialog to ask if generating a legacy addon * Implemented removing bl_info if not supporting legacy addons * added blender_manifest.toml template * Added copying manifest file * documentation * Added different formatting for manifest id and name * reorder dialogues * Fixed bug where auto_load doesn't recognise classes that don't directly inherit from a Blender class, even if they do so indirectly. * Ensure addon name is consistent between init and manifest file * Change choice order * Resolve manifest path issue * Remove commented out line
- Loading branch information
1 parent
9ac8e58
commit ac3b1ca
Showing
4 changed files
with
136 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
schema_version = "1.0.0" | ||
|
||
# Example of manifest file for a Blender extension | ||
# Change the values according to your extension | ||
id = "ADDON_ID" | ||
version = "1.0.0" | ||
name = "ADDON_NAME" | ||
tagline = "This is another extension" | ||
maintainer = "AUTHOR_NAME" | ||
# Supported types: "add-on", "theme" | ||
type = "add-on" | ||
|
||
# Optional link to documentation, support, source files, etc | ||
# website = "https://extensions.blender.org/add-ons/my-example-package/" | ||
|
||
# Optional list defined by Blender and server, see: | ||
# https://docs.blender.org/manual/en/dev/advanced/extensions/tags.html | ||
tags = ["Animation", "Sequencer"] | ||
|
||
blender_version_min = "4.2.0" | ||
# # Optional: Blender version that the extension does not support, earlier versions are supported. | ||
# # This can be omitted and defined later on the extensions platform if an issue is found. | ||
# blender_version_max = "5.1.0" | ||
|
||
# License conforming to https://spdx.org/licenses/ (use "SPDX: prefix) | ||
# https://docs.blender.org/manual/en/dev/advanced/extensions/licenses.html | ||
license = [ | ||
"SPDX:GPL-2.0-or-later", | ||
] | ||
# Optional: required by some licenses. | ||
# copyright = [ | ||
# "2002-2024 Developer Name", | ||
# "1998 Company Name", | ||
# ] | ||
|
||
# Optional list of supported platforms. If omitted, the extension will be available in all operating systems. | ||
# platforms = ["windows-x64", "macos-arm64", "linux-x64"] | ||
# Other supported platforms: "windows-arm64", "macos-x64" | ||
|
||
# Optional: bundle 3rd party Python modules. | ||
# https://docs.blender.org/manual/en/dev/advanced/extensions/python_wheels.html | ||
# wheels = [ | ||
# "./wheels/hexdump-3.3-py3-none-any.whl", | ||
# "./wheels/jsmin-3.0.1-py3-none-any.whl", | ||
# ] | ||
|
||
# Optional: add-ons can list which resources they will require: | ||
# * files (for access of any filesystem operations) | ||
# * network (for internet access) | ||
# * clipboard (to read and/or write the system clipboard) | ||
# * camera (to capture photos and videos) | ||
# * microphone (to capture audio) | ||
# | ||
# If using network, remember to also check `bpy.app.online_access` | ||
# https://docs.blender.org/manual/en/dev/advanced/extensions/addons.html#internet-access | ||
# | ||
# For each permission it is important to also specify the reason why it is required. | ||
# Keep this a single short sentence without a period (.) at the end. | ||
# For longer explanations use the documentation or detail page. | ||
# | ||
# [permissions] | ||
# network = "Need to sync motion-capture data to server" | ||
# files = "Import/export FBX from/to disk" | ||
# clipboard = "Copy and paste bone transforms" | ||
|
||
# Optional: build settings. | ||
# https://docs.blender.org/manual/en/dev/advanced/extensions/command_line_arguments.html#command-line-args-extension-build | ||
# [build] | ||
# paths_exclude_pattern = [ | ||
# "__pycache__/", | ||
# "/.git/", | ||
# "/*.zip", | ||
# ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters