[PBR] EEP Settings not updating correctly when using scripts - missing some parameter
complete
Andred Darwin
Same EEP setting when applied by a script, displays much darker than intended/original, works ok when opened using the Edit window... see snaps attached, all EEP settings are updated for PBR (HDR, etc...).
Repro:
2- ) I left a prim with on the side of the PBR board with the same settings inside the board. (Use your powers to get them.. lol)
3-) Open setting Beautiful Day from your inventory, observe results... close edit window.
4-) Click Beautiful Day at the board ... script does update viewer, but with a much darker tone/light...
LSL function llReplaceAgentEnvironment, region -> viewer probably missing some parameter? Region probes seems to be "stuck" and not updating...
Viewer: Second Life Release 7.1.3.7821226606 (64bit)
Server: Second Life Server 2024-01-19.7590161929
PS.: This "canny" thing.... really?
![](https://canny.io/images/e9729555a9faff54c1117340733c2f56.png)
![](https://canny.io/images/e17193ffbe06d3b437f017ab9fc6e7d0.png)
![](https://canny.io/images/fe49ce7afd29daa9e42526cff73e50f9.png)
![](https://canny.io/images/7e2e8a92f5f211faba84cc17b95fba09.png)
Log In
This post was marked as
complete
Andred Darwin
Thank you for all you do!
Dan Linden
Thank you for the report and the test object, Andred!
Dan Linden
tracked
Andred Darwin
Dan Linden
What is happening, is that the viewer when applying an EEP by script, is applying an HDR value of 0.01, instead of using the current value on the setting itself (in the snapshots below, 3.5)... a check is missing on the viewer to not apply the automatic 0.01 if the value is above 0.0 (or the viewer is getting the value from another EEP, not the one being applied by script... )
The snapshots below are:
1) EEP setting as open in inventory.
2) Manually changing the HDR setting to 0.01 for comparison.
3) As rendered when applied by script. (which is the same as 2)
The same can be reproduced using the EEP object (setting inside) I sent you...
![](https://canny.io/images/89aab3cd218f7a28713d2143cb010550.png)
![](https://canny.io/images/6c09cc2e2739040ce292f7220faf2f5f.png)
![](https://canny.io/images/4f8ebde102b81de779def4f1e3d8f57c.png)