Commit Graph

26 Commits (2bc4fb2bf0bef5adf709ef1fc90ba1bcdee7f8d0)

Author SHA1 Message Date
Nat Goodspeed bb718155bd DRTVWR-575: Replace some LLSDArray() usage with llsd::array().
It seems newer compilers have a different interpretation of exactly when to
engage LLSDArray's copy constructor. In particular, this assignment:

some_LLSD_map[key] = LLSDArray(...)(...)...;

used to convert the LLSDArray object directly to LLSD; now it first calls the
custom copy constructor, which embeds the intended array within an outer array
before assigning it into the containing map.

The newer llsd::array() function avoids that problem because what it returns
is already an LLSD object.

Taking inventory of LLSDArray assignments of that form turned up a number of
workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is
both simpler and more readable.

Tip of the hat to Chorazinallen for surfacing this issue!
2023-01-03 18:06:45 -05:00
Dave Houlton 353329c2c2 DRTVWR-546 merge in master v6.5.1 2021-11-16 11:44:55 -07:00
Dave Parks 8d20480c5f SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
Andrey Kleshchev ebffbd3c9a SL-14575 Pass validation flags into EEP validators. 2021-01-13 20:47:20 +02:00
Graham Linden 65927e0a76 SL-10181, SL-10546
Fix distortion map rendering in deferred mode not including underwater fog effects.

Fix distortion map rendering not including post-deferred content at all.

Fix distortion map rendering not including anything but sky when camera is underwater.

Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
2019-02-13 13:09:14 -08:00
Rider Linden c7e02b0835 SL-9925: Viewer now shows an error message if import from legacy windlight fails. 2019-01-30 14:36:46 -08:00
Rider Linden 70ac8d9fa7 SL-10238: Viewer spport for push notifications from the simulator contaiting partial groups of settings. Blend these settings into the current environment. 2018-12-12 14:07:23 -08:00
andreykproductengine 659d14504f SL-1476 EEP Better shader resets and transitions 2018-10-29 18:18:20 +02:00
Rider Linden 6cdcc7fe2e SL-9889: New reconverted default assets 2018-10-17 12:16:24 -07:00
Graham Linden 79d33f9d19 Fix names of WATER_BLUR_MULTIPILER.
Give wave direction uniforms more meaningful names in shaders.

Add comments on glow size/focus conversions for clarity.
2018-10-10 18:44:03 +01:00
Rider Linden ed2e333a54 MAINT-9734: Change limits on settings values. 2018-09-24 17:00:01 -07:00
andreykproductengine 94c24b8713 MAINT-8944 Fix frame transition's images 2018-08-23 20:14:15 +03:00
Rider Linden 9391744164 Add default and wellknown asset ids. 2018-07-16 16:49:49 -07:00
Graham Linden a02b3500b9 Make LLSettingsFoo::defaults() funcs only calculate the invariant values once (use static trick ala the validations).
Fix conversion of legacy settings w/ non-zero east angles to account for those values being CW radian angles.
2018-06-22 00:41:19 +01:00
Graham Linden 91121d113d Merge server side bugfixes over. 2018-06-21 18:37:00 +01:00
Graham Linden 66d78ce1c7 Make water and sky defaults take a position value to allow for default daycycle w/ multiple frames.
Make default daycycle add 8 frames at 0, 0.125, 0.25 etc

Merge over server-side bugfixes.

Eliminate extraneous dirty bits in sky settings.
2018-06-15 21:15:02 +01:00
Graham Linden 34865c4bb5 Mods to hook up water settings to water normals for rendering with support for current to next blending.
Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings.

Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
2018-06-13 00:51:39 +01:00
Graham Linden cd8f0da2d1 Fix use of new typedefs in inventory settings code in llenvironment. 2018-06-04 23:12:21 +01:00
Graham Linden 7136956b90 Use more typedefs to simplify sync between viewer and sim env settings code. 2018-06-02 23:28:48 +01:00
Rider Linden 2a613d7363 Rework preset loading and context menu from inventory. 2018-06-01 16:24:36 -07:00
Rider Linden 3925e37532 Fix the blend code to record the amount of the blend and to store what is being blended towards. 2018-05-15 17:17:51 -07:00
Rider Linden 7838189843 boost->std & same level interp 2018-02-06 17:27:56 -08:00
Rider Linden 536aeb54a6 MAINT-8052: One more step towards parcel environments. 2018-01-23 17:34:25 -08:00
Rider Linden 1b8c2b5ebb MAINT-8052: Initial support for new EEP cap 2018-01-23 08:54:34 -08:00
Rider Linden 8211f57205 MAINT-7699: Deliver new settings to viewer via cap 2018-01-08 15:10:25 -08:00
Rider Linden d7dd10b88b Split for viewer/simhost sync LLSD with simhost. 2017-11-30 11:32:22 -08:00