Skip to content

Blender 5.1 compatibility fixes#15

Open
drune9d wants to merge 2 commits intoEatTheFuture:masterfrom
drune9d:master
Open

Blender 5.1 compatibility fixes#15
drune9d wants to merge 2 commits intoEatTheFuture:masterfrom
drune9d:master

Conversation

@drune9d
Copy link
Copy Markdown

@drune9d drune9d commented Apr 11, 2026

Fixes compatibility with Blender 5.1:

  • Replaced ShaderNodeMixRGB with ShaderNodeMix (removed in 4.x)
  • Updated socket names: Color1/Color2/Color → A/B/Result
  • Replaced mat.blend_method and mat.shadow_method with surface_render_method (removed in 4.2)
  • Bumped bl_info version to (5, 1, 0)

The socket rename from Color1/Color2 → A/B was necessary because ShaderNodeMixRGB was replaced by the generic ShaderNodeMix node, which handles multiple data types (RGBA, Vector, Float etc). Since it's no longer color-specific the sockets were renamed to be type-agnostic. data_type is now set explicitly per node.

Tested and working in Blender 5.1

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