secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
210 stars 53 forks source link

A mirror worn by an avatar is not reflective when worn (wear). If mirror object is dropped avatar has to teleport away and back (or login out and in) to see reflective properites. #1093

Open river-ll opened 6 months ago

river-ll commented 6 months ago

Environment

Primary region: Rumpus Room 1024 Server: PMFP-chicken 2024-03-27.8459483357 Viewer: Second Life Test 7.1.4.8380949938 (64bit) (on mac)

Description

A mirror worn by an avatar is not reflective when worn (wear). If mirror object is dropped avatar has to teleport away and back (or login out and in) to see reflective properites.

Reproduction steps

  1. Create a mirror
  2. Have User A wear the mirror in a way where the reflection could be seen by another avatar (chest)
  3. Have User B login or teleport in and check for the reflection.

Expected: User B should see the reflection.

Actual: User B does not see the reflection. If User A drops the mirror the reflection is still not visible to User A or User B until they teleport away and back or logout and login.

Similar to: https://github.com/secondlife/viewer/issues/1089

kylelinden commented 6 months ago

Needs more information. Is the mirror that is worn the reflective surface or the mirror probe? A few issues here:

river-ll commented 6 months ago

@kylelinden In this case Mirror = Prim + reflection probe linked together.

Dropping the mirror, there is no reflection for the avatar unless the avatar teleports away and comes back or logs out and logs back in. Another way it becomes reflective again is if it is edited (moved for example.)

Screenshot 2024-04-02 at 11 33 13 AM