Skip to content

Conversation

@austenrt
Copy link

This change prevents incorrect material assignment when material names contain overlapping substrings in CreateHopooMaterialFromBundle.

Previously, using .Contains() could cause the wrong material to be assigned to a mesh. For example, I encountered a case where a hair accessory material (mat_hair_acc) was incorrectly applied to a hair mesh intended to use mat_hair while setting up an alternate character skin.

Fix material name match in CreateHopooMaterialFromBundle to prevent substring conflicts
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