Color syntax in script colors floater

master
Cinder 2014-05-14 21:24:23 -06:00
parent 7ada3ea719
commit 4ce0f6d6ea
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "llfloaterscriptedprefs.h"
#include "llcolorswatch.h"
#include "llscripteditor.h"
LLFloaterScriptEdPrefs::LLFloaterScriptEdPrefs(const LLSD& key)
@ -40,6 +41,12 @@ LLFloaterScriptEdPrefs::LLFloaterScriptEdPrefs(const LLSD& key)
BOOL LLFloaterScriptEdPrefs::postBuild()
{
LLScriptEditor* editor = getChild<LLScriptEditor>("Script Preview");
if (editor)
{
editor->initKeywords();
editor->loadKeywords();
}
return TRUE;
}