Skip to content

Update for changes in Blender 4.0#648

Open
Mysteryem wants to merge 3 commits intoabsolute-quantum:developmentfrom
Mysteryem:4_0_fixes
Open

Update for changes in Blender 4.0#648
Mysteryem wants to merge 3 commits intoabsolute-quantum:developmentfrom
Mysteryem:4_0_fixes

Conversation

@Mysteryem
Copy link

@Mysteryem Mysteryem commented Nov 15, 2023

Blender 4.0 removed bone layers and bone groups, replacing them with Bone Collections.

This patch adds a "Blender 3.6 or older" check and uses new Bone Collection code when using Blender 4.0.

Bone collections are not removed like bone groups were because they are the direct replacement for armature/bone layers, which were not removed before. The bone color properties of bone groups were instead replaced in 4.0 by setting each bone's color individually. This patch does not modify bone colors like removing bone groups would have done in older versions.


Blender 4.0 replaced the ability to call operators with a context override argument with Context.temp_override.

A new version-independent function for calling operators with context overrides has been added to common.py and code has been updated to use this new function.


It should be noted that mmd tools is broken in many areas with the update to 4.0, but the upstream mmd tools repository is yet to update for 4.0: https://github.com/UuuNyaa/blender_mmd_uuunyaa_tools. Though note that mmd tools' priority is supporting the latest LTS release, which 4.0 is not, so mmd tools updating could take some time. https://mmd-blender.fandom.com/wiki/MMD_UuuNyaa_Tools#Requirements

RinaDev-xyz added a commit to teamneoneko/Cats-Blender-Plugin that referenced this pull request Nov 20, 2023
Fix came from the Official Cats Pluign please see absolute-quantum/cats-blender-plugin#648
RinaDev-xyz added a commit to teamneoneko/Cats-Blender-Plugin that referenced this pull request Nov 22, 2023
- Added Twist Bone Generation.
- Added Repair Shapekeys Generation.
- Added Optimised Shapekeys.
- CAT's is no longer supported on versions below 3.6.
- 4.0 Fixes by Mysteryem absolute-quantum/cats-blender-plugin#648
- Small bug fixes.
@Rawrgurl
Copy link

Rawrgurl commented Jan 2, 2024

it seems i'll have to wait a while then, because I just downloaded 4.0 because the previous downloads for 3.5 where broken. I'm glad I kept a version of blender that still works with mmd tools because right now its currently broken. I cannot even import a model anymore unless i save the project in an older version and open it in 4.0.

@AraHaan
Copy link

AraHaan commented Jan 9, 2024

I would suggest for now using steam to use Blender 3.6 stable until cats is updated to support Blender v4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants