diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-12-05 14:34:59 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-12-05 14:34:59 -0700 |
commit | 72fdde2c0d4f2c60969e52dc64b6f499dabdbe04 (patch) | |
tree | e2dd139df50cc60d189679f784df57024746644d /indra/newview/llpreviewscript.cpp | |
parent | 526be23096671e8916ec2b5644a46020f33479a8 (diff) |
revert f24e495149fc, the 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 61a34d0581..870304a7b8 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 || !object->hasVertexBuffer()) + if(!object) { LLNotificationsUtil::add("SaveScriptFailObjectNotFound"); return; |