From fd643f07c8a3e3f1cfb146684f2d68db4b4126e7 Mon Sep 17 00:00:00 2001 From: Ima Mechanique Date: Sat, 4 Jan 2014 01:27:57 +0000 Subject: storm-1831 In the LLSD, functions are in a which makes sorting unnecessary (loading sorts them). --- indra/newview/llpreviewscript.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 41c172e629..aedf687f0d 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -440,11 +440,6 @@ void LLScriptEdCore::onRegionChangeInitialiseKeywords() } } - // Case-insensitive dictionary sort for primary keywords. We don't sort the secondary - // keywords. They're intelligently grouped in keywords.ini. - // As we don't use keywords.ini, this is no longer true. Do we need to sort now? - std::stable_sort( primary_keywords.begin(), primary_keywords.end(), LLSECKeywordCompare() ); - for (std::vector::const_iterator iter= primary_keywords.begin(); iter!= primary_keywords.end(); ++iter) { -- cgit v1.2.3