diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-12-04 21:46:32 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-12-04 21:46:32 -0700 |
commit | 526be23096671e8916ec2b5644a46020f33479a8 (patch) | |
tree | 1dfe20a413e5c9743fad71f2d8dd53bcab044b85 /indra/newview/llpreviewscript.cpp | |
parent | 7e17824f61a0ee160d2c28e24bdd87a005b4c17d (diff) |
fix for SH-4627: "Object out of range" is not detected on teleport.
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-x | indra/newview/llpreviewscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 870304a7b8..61a34d0581 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -2101,7 +2101,7 @@ LLLiveLSLSaveData::LLLiveLSLSaveData(const LLUUID& id, void LLLiveLSLEditor::saveIfNeeded(bool sync /*= true*/) { LLViewerObject* object = gObjectList.findObject(mObjectUUID); - if(!object) + if(!object || !object->hasVertexBuffer()) { LLNotificationsUtil::add("SaveScriptFailObjectNotFound"); return; |