Update to version 0.2.0 for Blender 4.5 compatibility#14
Open
cyrusjameskhan wants to merge 1 commit intoEatTheFuture:masterfrom
Open
Update to version 0.2.0 for Blender 4.5 compatibility#14cyrusjameskhan wants to merge 1 commit intoEatTheFuture:masterfrom
cyrusjameskhan wants to merge 1 commit intoEatTheFuture:masterfrom
Conversation
… creation with error handling and improving operator polling logic for material validation. Updated README to reflect new version requirements.
|
hey i need that 4.5 updated version |
Author
Hi!It should normally be working with 4.5 |
|
Yeah, I somehow fixed it by merging your files in the main compify zip |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue: The addon was using the node group interface API that was introduced in Blender 4.0, but some methods were deprecated or changed between Blender 4.0 and 4.5, causing the addon to fail when creating node groups and socket interfaces.
Root Cause: Between Blender 4.0 and 4.5, there were refinements to the node group interface API, particularly around:
group.interface.new_socket() method for creating input/output sockets
group.interface.items_tree for accessing and managing socket properties
Socket interface management and property handling
Fix: Updated the node group creation code in node_groups.py to use the correct Blender 4.5 API calls for:
Creating node group input/output sockets using the updated interface.new_socket() method
Properly accessing socket properties through the items_tree interface
Ensuring compatibility with the refined socket management system
Files Updated:
node_groups.py - Node group creation and socket interface management
init.py - Version bumped to 0.2.0 and Blender requirement updated to 4.5+
README.md - Updated compatibility information
This ensures that all the node group creation functions (ensure_footage_group(), ensure_feathered_square_group(), ensure_camera_project_group()) work correctly with Blender 4.5's node editor interface system.