redo adaptation
This commit is contained in:
@@ -1073,3 +1073,118 @@ The extension is ready to be installed in Blender 4.5.0+ and should appear in th
|
||||
|
||||
---
|
||||
|
||||
_**User**_
|
||||
|
||||
alright, let's simplify. I restarted by using this blender development vscode addon. We should be able to build off this structure.
|
||||
|
||||
---
|
||||
|
||||
_**Assistant**_
|
||||
|
||||
Great idea! Using the Blender development VSCode addon will give us a much better development experience. Let me check what structure we have now and see how we can build on it.
|
||||
|
||||
|
||||
---
|
||||
|
||||
<details>
|
||||
<summary>Listed current directory • **6** results</summary>
|
||||
|
||||
| Name |
|
||||
|-------|
|
||||
| 📁 `.git` |
|
||||
| 📄 `.gitignore` |
|
||||
| 📄 `blender_manifest.toml` |
|
||||
| 📄 `__init__.py` |
|
||||
| 📄 `.cursorindexingignore` |
|
||||
| 📁 `.specstory` |
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
Perfect! I can see you have the basic structure with the VSCode addon. Let me check what's in the `__init__.py` to see what the addon generated:
|
||||
|
||||
|
||||
---
|
||||
|
||||
Read file: __init__.py
|
||||
|
||||
---
|
||||
|
||||
Great! The VSCode addon has given us a clean starting point. Now let me check the manifest to see what it generated:
|
||||
|
||||
|
||||
---
|
||||
|
||||
Read file: blender_manifest.toml
|
||||
|
||||
---
|
||||
|
||||
Excellent! The VSCode addon has given us a much cleaner and more modern structure. Now let me update the manifest with your specific details and then build the core functionality. Let me start by updating the manifest:
|
||||
|
||||
|
||||
---
|
||||
|
||||
<details><summary>Edit file: blender_manifest.toml</summary>
|
||||
|
||||
undefined
|
||||
|
||||
**Chunk 1**
|
||||
Lines added: 5, lines removed: 5
|
||||
|
||||
```diff
|
||||
@@ -3,9 +3,9 @@
|
||||
# Example of manifest file for a Blender extension
|
||||
# Change the values according to your extension
|
||||
- id = "dynamic-link-manager"
|
||||
- version = "1.0.0"
|
||||
- name = "Dynamic-link-manager"
|
||||
- tagline = "This is another extension"
|
||||
- maintainer = "RaincloudTheDragon"
|
||||
+ id = "dynamiclinkmanager"
|
||||
+ version = "0.5.1"
|
||||
+ name = "Dynamic Link Manager"
|
||||
+ tagline = "Replace linked assets and characters with ease"
|
||||
+ maintainer = "Nathan Lindsay"
|
||||
# Supported types: "add-on", "theme"
|
||||
type = "add-on"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
<details><summary>Edit file: blender_manifest.toml</summary>
|
||||
|
||||
undefined
|
||||
|
||||
**Chunk 1**
|
||||
Lines added: 1, lines removed: 1
|
||||
|
||||
```diff
|
||||
@@ -16,5 +16,5 @@
|
||||
# Optional list defined by Blender and server, see:
|
||||
# https://docs.blender.org/manual/en/dev/advanced/extensions/tags.html
|
||||
- tags = ["Animation", "Sequencer"]
|
||||
+ tags = ["3D View", "Import-Export"]
|
||||
|
||||
blender_version_min = "4.2.0"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
Now let me update the `__init__.py` with the proper addon structure:
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user