Linking: name the objects that prevent the link (no-mod, permanent, other owner, other region) #1418
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#1418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
Linking a selection that contains an object you can't modify fails with a generic notice (
CannotLinkModify). It doesn't say which object is at fault. With dozens or hundreds of prims selected, the user has to hunt for the one no-mod object by hand.The check is
LLSelectMgr::linkObjects()(indra/newview/llselectmgr.cpp:829). It asks yes/no questions about the whole selection:selectGetRootsModify()selectGetRootsNonPermanentEnforced()selectGetOwner()selectGetSameRegion()It then shows one notice and stops.
What to do
Make each link failure name the objects that cause it.
!permModify()): their names, and their link number or position if the names are ambiguous.CannotLinkPermanent);CannotLinkDifferentOwners, naming the owner);CannotLinkAcrossRegions);checkAnimatedObjectLinkable) failures, where possible;UnableToLinkWhileDownloading), naming the objects whose properties haven't arrived.enableLinkObjects) stays as is: enabled when at least one root is modifiable, so the user gets the explanatory notice instead of a silently greyed button. A tooltip on the button could summarise the reason ("3 objects can't be modified") when the selection would fail.Done when