From 267e31717cc89c97fc077ae6ffef13e5ce59f18d Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Mon, 2 Apr 2018 21:57:31 +0100 Subject: SL-897 - notification wording fixes --- indra/newview/llpanelvolume.cpp | 12 ++++++++++++ indra/newview/skins/default/xui/en/notifications.xml | 14 +++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp index 6c17fb9f8d..5e7aef69f1 100644 --- a/indra/newview/llpanelvolume.cpp +++ b/indra/newview/llpanelvolume.cpp @@ -365,6 +365,18 @@ void LLPanelVolume::getState( ) if (root_volobjp && root_volobjp == volobjp) { enabled_animated_object_box = single_root_volume && root_volobjp && root_volobjp->canBeAnimatedObject() && editable; +#if 0 + if (!enabled_animated_object_box) + { + LL_INFOS() << "not enabled: srv " << single_root_volume << " root_volobjp " << (bool) root_volobjp << LL_ENDL; + if (root_volobjp) + { + LL_INFOS() << " cba " << root_volobjp->canBeAnimatedObject() + << " editable " << editable << " permModify() " << root_volobjp->permModify() + << " ispermenf " << root_volobjp->isPermanentEnforced() << LL_ENDL; + } + } +#endif if (enabled_animated_object_box && !is_animated_mesh && root_volobjp->isAttachment() && !gAgentAvatarp->canAttachMoreAnimatedObjects()) { diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 982d12d702..671a185fe2 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -10202,7 +10202,7 @@ Unable to create requested object. The region is full. name="CantCreateAnimatedObjectTooLarge" type="notify"> fail -Unable to create requested animated object because it exceeds the size limit. +Unable to create requested animated object because it exceeds the rigged triangle limit. fail -Can't link these objects because the resulting animated object would exceed the size limit. +Can't link these objects because the resulting animated object would exceed the rigged triangle limit. fail -Can't make this object into an animated object because it would exceed the size limit. +Can't make this object into an animated object because it would exceed the rigged triangle limit. + + + + fail +Can't change animated object state for this object because it would cause parcel limit to be exceeded.