storm-1831 Replacing old region changed callback setup with the shiny new one.
parent
7e749052ca
commit
25c7ea0532
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue