From 68684855c6a8697b0247805eee373292ede0c012 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sat, 7 Jun 2014 06:30:52 -0400 Subject: [PATCH] Bump link num starting point from 0 to 1 Based on script testing, and the fact that the root prim is 1, not 0. --- indra/newview/llfloatertools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index d26944595..5f27490cc 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -560,7 +560,7 @@ void LLFloaterTools::refresh() else { children.push_front(selected->getRootEdit()); // need root in the list too - S32 index = 0; + S32 index = 1; for (LLViewerObject::child_list_t::iterator iter = children.begin(); iter != children.end(); ++iter, ++index) { if ((*iter)->isSelected())