diff options
author | Ima Mechanique <ima.mechanique@secondlife.com> | 2013-11-15 23:17:06 +0000 |
---|---|---|
committer | Ima Mechanique <ima.mechanique@secondlife.com> | 2013-11-15 23:17:06 +0000 |
commit | df78262f0ac19c888bb3416da0df37ece77729dc (patch) | |
tree | ddacf6b367eedb5782ffaeebbe01b9a2444f3b21 /indra/newview/llpreviewscript.cpp | |
parent | da240d7cf0cccf54a65ca906b612579932aa78e3 (diff) |
Fixing the stupid mistake that prevented this from compiling. Thanks to Jonathan Yap for spotting it.
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-x | indra/newview/llpreviewscript.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 19aab8f383..c662343238 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -407,8 +407,11 @@ BOOL LLScriptEdCore::postBuild() initMenu(); + // Intialise keyword highlighting for the current simulator's version of LSL onRegionChangeInitialiseKeywords(); - //LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLScriptEdCore::onRegionChangeInitialiseKeywords(), this)); + // 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)); + return TRUE; } |