Skip to content

Conversation

Hecklezz
Copy link
Contributor

@Hecklezz Hecklezz commented Jun 7, 2025

#4221

Fixes the above issue which was caused by mAbsorptionConfigs, mMieConfigs and mRayleighConfigs becoming null since interpolateSDMap wasn't interpolating and combining them properly as they are arrays and not maps. This causes the sky settings to fail the validation check when trying to save them, which resulted in the added sky not being saved into the day cycle. Now those 3 configs correctly get interpolated and should no longer end up null and failing the validation, and allow them to be saved correctly.

…onfigs and mRayleightConfigs don't become null
@Hecklezz Hecklezz changed the title [#4221] [#4221] Fix adding new skies to day cycle not saving Jun 7, 2025
@Hecklezz
Copy link
Contributor Author

Hecklezz commented Jun 7, 2025

1 thing I noticed is that the skip contains these 3 configs in it. Are they meant to just be skipped entirely now (which just takes the value from other)? Because last year before this became broken, they weren't being skipped since it was using the skip list inside of LLSettingsBase and not LLSettingsSky.

If they are meant to be skipped, I'll need to make another small modification to the code to account for this, because right now the skip list is only used inside interpolateSDMap.

@marchcat marchcat requested a review from Geenz June 8, 2025 09:35
@akleshchev akleshchev requested a review from marchcat June 10, 2025 17:29
@akleshchev akleshchev linked an issue Jun 10, 2025 that may be closed by this pull request
@akleshchev akleshchev merged commit 86a8f5a into secondlife:develop Jun 10, 2025
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2025
@akleshchev
Copy link
Contributor

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New day cycle key frames cannot be saved

3 participants