storm-1831 Replacing old region changed callback setup with the shiny new one.

master
niel@mint-32 2013-11-21 00:02:15 +00:00
parent 7e749052ca
commit 25c7ea0532
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}