#1463: Bulk mesh uploader acts on the clicked model when the list is sorted #1473
No reviewers
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream!1473
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "TheSlowly/Slipstream:bulk-mesh-sort-row-1463"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1463.
Rows were mapped to models by their position in the list, which is wrong once the list is sorted. Each row already carries its model index; every handler (load, remove, skip, physics, LOD, buttons) and the selection restore now use that.
Test:
python3 indra/newview/tests/mesh_bulk_sorted_row_checks.py. In world: sort by LI, click rows; each opens the model shown.Every handler (load, remove, skip, set physics, set LOD, clear companions, the button states) took the selected row's position in the list as its index into the model list. Once the list was sorted by LI or any other column, that position pointed at a different model, so clicking the top row opened the model that was first by name. Each row already carried its model index as its value; the handlers now read that, and the list restores and moves the selection by value too, so the highlighted row also stays on the right model. Test-Plan: python3 indra/newview/tests/mesh_bulk_sorted_row_checks.py (fails before, OK after) In world: add several models to the bulk mesh uploader, sort by LI, click and double-click rows; each opens the model shown in that row. Remove/skip a row in sorted order and check the right model changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Superseded by your fix on main (
52315661f0), closing this one. The ticket's still in testing; I'll check your version in world.Pull request closed