diff options
author | niel@mint-32 <niel@mint-32> | 2013-11-21 00:02:15 +0000 |
---|---|---|
committer | niel@mint-32 <niel@mint-32> | 2013-11-21 00:02:15 +0000 |
commit | 25c7ea0532b6316639b7efbbfb9f10bfe7e38635 (patch) | |
tree | dd0e16c71b8f55a9407f5a5a0102f4f22926518d /indra/newview | |
parent | 7e749052ca05024ed2ca4c8a799d7ddaf64191d9 (diff) |
storm-1831 Replacing old region changed callback setup with the shiny new one.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llpreviewscript.cpp | 2 |
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; } |