summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorniel@mint-32 <niel@mint-32>2013-11-21 00:02:15 +0000
committerniel@mint-32 <niel@mint-32>2013-11-21 00:02:15 +0000
commit25c7ea0532b6316639b7efbbfb9f10bfe7e38635 (patch)
treedd0e16c71b8f55a9407f5a5a0102f4f22926518d /indra/newview/llpreviewscript.cpp
parent7e749052ca05024ed2ca4c8a799d7ddaf64191d9 (diff)
storm-1831 Replacing old region changed callback setup with the shiny new one.
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-xindra/newview/llpreviewscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index c662343238..362836b5b9 100755
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -410,7 +410,7 @@ BOOL LLScriptEdCore::postBuild()
// Intialise keyword highlighting for the current simulator's version of LSL
onRegionChangeInitialiseKeywords();
// Set up a callback for region changes, so that highlighting is updated to the new region's version of LSL
- LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLScriptEdCore::onRegionChangeInitialiseKeywords, this));
+ gAgent.addRegionChangedCallback(boost::bind(&LLScriptEdCore::onRegionChangeInitialiseKeywords, this));
return TRUE;
}