Skip to content

Make panel API calls work across Blender 4 and 5#23

Open
balrog-kun wants to merge 1 commit intotin2tin:mainfrom
balrog-kun:blender4-compat
Open

Make panel API calls work across Blender 4 and 5#23
balrog-kun wants to merge 1 commit intotin2tin:mainfrom
balrog-kun:blender4-compat

Conversation

@balrog-kun
Copy link
Copy Markdown

@balrog-kun balrog-kun commented Feb 10, 2026

Blender 5 has changes in the class names and class property names and also moved strip properties from the VSE to the properties panel, so update the code for all these things. Check for either the old or new version and use whatever is available.

This should make the addon work with both Blender 4 and 5. Only 5 tested here.


This is the blender 4 + 5 version of this commit. Initially I switched everything to use the blender 5 api only. I'll add a separate PR for that so you can accept one and reject the other one. Blender 4.4 is already newer than anything in ubuntu packages so if I'm going to be installing Blender manually I might as well use 5, so not sure how much value there is in the compatibility code long term.

Blender 5 has changes in the class names and class property names and
also moved strip properties from the VSE to the properties panel, so
update the code for all these things to check for either the old or new
version and use whatever is available.

This should make the addon work with both Blender 4 and 5.  Only 5
tested here.
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.

1 participant