From 72fdde2c0d4f2c60969e52dc64b6f499dabdbe04 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Thu, 5 Dec 2013 14:34:59 -0700 Subject: revert f24e495149fc, the fix for SH-4627: "Object out of range" is not detected on teleport. --- indra/newview/llpreviewscript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llpreviewscript.cpp') 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; -- cgit v1.2.3