Skip to content

Fix material texture switch on face select - #724

Merged
Dragorn421 merged 1 commit into
Fast-64:mainfrom
Dragorn421:fix_material_texture_switch_on_face_select
Aug 28, 2026
Merged

Fix material texture switch on face select#724
Dragorn421 merged 1 commit into
Fast-64:mainfrom
Dragorn421:fix_material_texture_switch_on_face_select

Conversation

@Dragorn421

@Dragorn421 Dragorn421 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

The "normal" blender experience is that when you click a face that is basically assigned to a texture, blender switches to that texture in the image views.

This is currently broken in Fast64

This PR fixes the behavior (in some blender versions, see below) by simply selecting the Tex0 texture node in the material library instead of whatever was select before

blend file modified with blender 3.2.2

Testing:

  • Fix doesn't work in 4.2.11 on my machine
  • Fix works in 4.2.23 on my machine
  • Fix works in 4.5.13 on my machine
  • Fix works in 5.2.0 on my machine

Note the fix only applies to new materials, including after recreating nodes on "old" materials. Not sure why because stuff should just be linked and automatically update but oh well
https://discord.com/channels/874816709855440926/874816710639767585/1542106252044410921

@Dragorn421 Dragorn421 added bug Something isn't working f3d Has to do with the "f3d" code common to all games labels Aug 17, 2026
@Dragorn421 Dragorn421 added the merge soon Will be merged in a few days at most if nothing else comes up label Aug 26, 2026
@Dragorn421

Copy link
Copy Markdown
Contributor Author

I got confirmation from biobak on discord this works so merging soon tm

@Dragorn421
Dragorn421 merged commit 36fc72a into Fast-64:main Aug 28, 2026
1 check passed
@Dragorn421
Dragorn421 deleted the fix_material_texture_switch_on_face_select branch August 28, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working f3d Has to do with the "f3d" code common to all games merge soon Will be merged in a few days at most if nothing else comes up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant