From a7ff6c742d6d89c6b457a49516ff60e8bdfa6b32 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Thu, 24 Jun 2010 04:29:13 -0700 Subject: Include renamed lightshare functions in the script editor --- linden/indra/lscript/lscript_library/lscript_library.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linden/indra/lscript/lscript_library') diff --git a/linden/indra/lscript/lscript_library/lscript_library.cpp b/linden/indra/lscript/lscript_library/lscript_library.cpp index af08d2c..40675af 100644 --- a/linden/indra/lscript/lscript_library/lscript_library.cpp +++ b/linden/indra/lscript/lscript_library/lscript_library.cpp @@ -569,6 +569,11 @@ void LLScriptLibrary::init() addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmSetWindlightScene", "i", "l", "integer cmSetWindlightScene(list rules)\nSet the current WindLight scene. Restricted to estate managers and owners only.")); addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmSetWindlightSceneTargeted", "i", "lk", "integer cmSetWindlightSceneTargeted(list rules, key target)\nSet the current WindLight scene directed to a specific avatar. Restricted to estate managers and owners only.")); addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmGetWindlightScene", "l", "l", "list cmGetWindlightScene(list rules)\nGet the current WindLight settings.")); + // LightShare functions - alternate versions + // don't ask me why they renamed 'em, but we need to include both versions -- MC + addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "lsSetWindlightScene", "i", "l", "integer lsSetWindlightScene(list rules)\nSet the current WindLight scene. Restricted to estate managers and owners only.")); + addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "lsSetWindlightSceneTargeted", "i", "lk", "integer lsSetWindlightSceneTargeted(list rules, key target)\nSet the current WindLight scene directed to a specific avatar. Restricted to estate managers and owners only.")); + addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "lsGetWindlightScene", "l", "l", "list lsGetWindlightScene(list rules)\nGet the current WindLight settings.")); } -- cgit v1.1