Skip to content

Conversation

@Hecklezz
Copy link
Contributor

Issue: #4987

This PR simply null checks mVObjp before calling updateLOD to try prevent the viewer from crashing.

Note: If this function should return much earlier in the case of mVObjp being null, or some alternative to alleviate this issue, please provide a suggestion on what to do instead and I'll update this PR.

Signed-off-by: Hecklezz <tj8@live.com.au>
@github-actions github-actions bot added the c/cpp label Nov 12, 2025
@Hecklezz Hecklezz changed the title Fix crash in updateDistance updating LOD on null mVObjp [#4987] Fix crash in updateDistance updating LOD on null mVObjp Nov 12, 2025
@akleshchev akleshchev linked an issue Nov 12, 2025 that may be closed by this pull request
@akleshchev akleshchev merged commit c39b35e into secondlife:develop Nov 12, 2025
7 of 8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2025
@akleshchev
Copy link
Contributor

Thank you!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in LLDrawable::updateDistance updating LOD

3 participants