Fix blender/blender#124020: Pre-made operator presets not available #1

Closed
Nika Kutsniashvili wants to merge 2 commits from presets into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

For some reason operator presets for bundle add-ons in 4.1 and before weren't registered by add-ons themselves. They were stored separately in scripts/addons/presets/operators folder and Blender was copying it in destination directory.

Now that bundled add-ons are gone and so is their presets folder, add-ons that previously came with pre-made operator presets were showing **Missing Paths**

This PR stores pre-made presets inside the extension itself and adds little script for copying them in version/scripts/presets directory like Blender was doing before.


This has to be done for couple of other add-ons, so when this is accepted I will just push changes to others without making PRs.

For some reason operator presets for bundle add-ons in 4.1 and before weren't registered by add-ons themselves. They were stored separately in scripts/addons/presets/operators folder and Blender was copying it in destination directory. Now that bundled add-ons are gone and so is their presets folder, add-ons that previously came with pre-made operator presets were showing `**Missing Paths**` This PR stores pre-made presets inside the extension itself and adds little script for copying them in `version/scripts/presets` directory like Blender was doing before. --- This has to be done for couple of other add-ons, so when this is accepted I will just push changes to others without making PRs.
Nika Kutsniashvili added 1 commit 2024-07-02 13:04:43 +02:00
Dalai Felinto requested review from Campbell Barton 2024-07-02 15:11:09 +02:00
Nika Kutsniashvili added 1 commit 2024-07-08 12:24:53 +02:00

Committed alternate fix which supports registering new preset paths instead of having to install them.

See: 73c82edab2

Committed alternate fix which supports registering new preset paths instead of having to install them. See: 73c82edab2969bb19d14416a0931ff51b0c2b382
Campbell Barton closed this pull request 2024-07-16 08:18:11 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: extensions/add_mesh_extra_objects#1
No description provided.