Skip to content

#6071 Fix WT_SKIRT not being rendered - #6111

Merged
akleshchev merged 1 commit into
developfrom
andreyk/viewer_6071_7
Aug 11, 2026
Merged

#6071 Fix WT_SKIRT not being rendered#6111
akleshchev merged 1 commit into
developfrom
andreyk/viewer_6071_7

Conversation

@akleshchev

@akleshchev akleshchev commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Should also fix the crash for editing shirt, when skirt is present

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to fix system skirt (WT_SKIRT) not rendering and address a related crash when editing shirt while a skirt is present by making mesh rebuild state handling more consistent and centralized.

Changes:

  • Centralizes “post-mesh-update” state resets (dirty mesh / skin needed / rebuild flag) into LLVOAvatar::updateMeshData().
  • Updates morph preview pre-render to proactively call updateMeshData() when geometry is marked for rebuild or meshes are dirty, to avoid inconsistent mid-draw mesh state.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
indra/newview/llvoavatar.cpp Moves dirty-mesh/skin/rebuild-flag resets into updateMeshData() after mesh rebuilds.
indra/newview/lltoolmorph.cpp Forces a mesh data update during param-hint preRender when geometry is flagged dirty/rebuild.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread indra/newview/llvoavatar.cpp Outdated
Comment thread indra/newview/lltoolmorph.cpp Outdated
@akleshchev
akleshchev force-pushed the andreyk/viewer_6071_7 branch from dafa2fb to caf0fb9 Compare August 11, 2026 11:34
@akleshchev
akleshchev merged commit e776834 into develop Aug 11, 2026
15 checks passed
@akleshchev
akleshchev deleted the andreyk/viewer_6071_7 branch August 11, 2026 14:15
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 11, 2026
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.

Viewer crashes when I try to edit New Skirt I created.

4 participants