summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-05-06 15:34:16 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-05-06 15:34:16 -0400
commitd679e7f3bacd7bba5493257f0e6c1c2366bf960a (patch)
treeb351be1516815a9ebd49bf57e86d7f7125537bec /indra/newview/llpreviewscript.cpp
parent47a5c7a41340a18d90a5a8724762ff32f9ac8afd (diff)
parent9180a110bd5b0e41f182c32017b5dccd2eb265be (diff)
Merge branch 'release/2025.04' into geenz/gltf-mesh-import
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);
}