summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-18 18:11:44 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-18 18:11:44 +0300
commit933f5226fec756016487f0cfdec0986f11d1eb87 (patch)
treea0a43ea19ddbd0368cb168d85f0fff20ed87dfe0 /indra/newview/llpreviewscript.cpp
parent01f73fe120244f1849e987f0273e2bbbbb87d342 (diff)
parent8c5d144f99eacaee619d07c5046c37a2481c2fb5 (diff)
Merge branch 'develop' into marchcat/05-develop
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r--indra/newview/llpreviewscript.cpp5
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);
}