secondlife / secondlife/viewer
Mesh with same material applied to two or more faces but in different slots fail in interesting manner.
@AndrewMeadows is already working on this.
Since Feb 11, 2026.
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Test object at http://maps.secondlife.com/secondlife/Danger!%20Danger!/74/79/39
-
create a simple mesh with two triangles, I used Blender
-
create two material slots
-
ensure both material slots are the same, e.g. MaterialA and MaterialA
-
apply a different slot to each triangle
-
export as dae, import to SL
-
rez the object, select and apply any PBR material to the object, i.e to both faces
-
release edit mode
-
shift drag the object to copy. Both objects will now have one face no longer with the PBR material applied. This also works with making any change, e.g. to "take", "take a copy", change permissions, sell, anything.
To demonstrate this and to triage what has happening I placed two planes joined as a single object at http://maps.secondlife.com/secondlife/Wensley/181/249/3759
This is available in CMT for $0
One plane has material A&B applied to the triangles, the other has materials A&A. It is A&A that is failing. Other than the difference in the material slots the mesh is otherwise identical.
This issue does not occur with Blinn-Phong textures.
I have tested this in the LL release viewer, Firestorm release, Firestorm Beta and on both Aditi and Agni.
My apologies if it's the wrong category!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.