feat(blender)!: port TexTools to Blender 5.2 #4

Merged
YoshuFGJ merged 1 commit from blender-5.2-compat into master 2026-08-31 20:20:40 +00:00
Owner

Summary

Port TexTools to Blender 5.2 and package it as a Blender extension.

Included

  • Replace removed Blender UV-selection APIs with the Blender 5.x equivalents.
  • Track island selection through use_uv_select_island.
  • Resolve Principled BSDF sockets by name for stable bake-channel relinking.
  • Remove legacy version branches and require Blender 5.0+.
  • Replace bl_info with blender_manifest.toml.
  • Update regex strings for Python 3.14.
  • Fix crashes in Color Elements, Select Identical, and Checker Map cleanup.

Stack

Depends on #3, which initializes Graphify for the codebase.

Known follow-ups

  • #1 tracks coat roughness affecting clearcoat bake output.
  • #2 tracks resource leaks during addon enable/disable cycles.

Breaking change

Requires Blender 5.0 or newer; Blender 2.8x–4.x support is removed.

## Summary Port TexTools to Blender 5.2 and package it as a Blender extension. ## Included - Replace removed Blender UV-selection APIs with the Blender 5.x equivalents. - Track island selection through `use_uv_select_island`. - Resolve Principled BSDF sockets by name for stable bake-channel relinking. - Remove legacy version branches and require Blender 5.0+. - Replace `bl_info` with `blender_manifest.toml`. - Update regex strings for Python 3.14. - Fix crashes in Color Elements, Select Identical, and Checker Map cleanup. ## Stack Depends on #3, which initializes Graphify for the codebase. ## Known follow-ups - #1 tracks coat roughness affecting clearcoat bake output. - #2 tracks resource leaks during addon enable/disable cycles. ## Breaking change Requires Blender 5.0 or newer; Blender 2.8x–4.x support is removed.
BREAKING CHANGE: requires Blender 5.0+; drops 2.8x-4.x support.

- Migrate UV selection off the removed BMLoopUV.select/select_edge to
  BMLoop.uv_select_vert/uv_select_edge, and replace the select_mode
  ping-pong workarounds with BMesh.uv_select_flush_mode().
- Track island selection through tool_settings.use_uv_select_island, since
  ISLAND is no longer a uv_select_mode value.
- Address Principled BSDF sockets by name instead of index so bake channel
  relinking survives socket reordering. The indices were one off since 5.0,
  the normal map link pointed at Coat Weight, and clean transmission still
  used the 2.8x layout.
- Drop settings.bversion and resolve every version branch for 5.x.
- Replace bl_info with blender_manifest.toml.
- Use raw strings for regex escapes, a hard error from Python 3.14 on.
- Fix three crashes seen on 5.2: stale BMFace references in Color Elements,
  zero-area division in Select Identical, and the missing TT_CM_Scale guard
  in Checker Map cleanup.
YoshuFGJ changed target branch from graphify-codebase-20260831 to master 2026-08-31 20:19:19 +00:00
YoshuFGJ force-pushed blender-5.2-compat from f73c57c7ef to 8ed124448b 2026-08-31 20:20:07 +00:00 Compare
YoshuFGJ merged commit c130ca0ac0 into master 2026-08-31 20:20:40 +00:00
YoshuFGJ deleted branch blender-5.2-compat 2026-08-31 20:20:44 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
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
YoshuFGJ/TexTools-Blender!4
No description provided.