diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-04-18 18:11:44 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-04-18 18:11:44 +0300 |
commit | 933f5226fec756016487f0cfdec0986f11d1eb87 (patch) | |
tree | a0a43ea19ddbd0368cb168d85f0fff20ed87dfe0 /indra/newview/llpreviewscript.cpp | |
parent | 01f73fe120244f1849e987f0273e2bbbbb87d342 (diff) | |
parent | 8c5d144f99eacaee619d07c5046c37a2481c2fb5 (diff) |
Merge branch 'develop' into marchcat/05-develop
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r-- | indra/newview/llpreviewscript.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 02a4c7fb26..c2aa4925bd 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -703,9 +703,10 @@ void LLScriptEdCore::sync() } } -bool LLScriptEdCore::hasChanged() +bool LLScriptEdCore::hasChanged() const { - if (!mEditor) return false; + if (!mEditor) + return false; return ((!mEditor->isPristine() || mEnableSave) && mHasScriptData); } |