From 572ee5c9db2aeec17e1cc7e6c69c72ad8c7ff6fc Mon Sep 17 00:00:00 2001 From: James Cook Date: Thu, 25 Jun 2009 18:41:04 +0000 Subject: DEV-34488 Can not save script to a prim. Underlying issue was LLPreview holding two member variables mObjectUUID and mObjectID. mObjectID was null for scripts. It appears to be used only for notecards (?), so I converted it to mNotecardObjectID and switched references to point to mObjectUUID. Renamed one other variable to mSaveObjectID for clarity. Removed unnecessary include files and de-inlined a couple functions because I was there. Reviewed with Steve. --- indra/newview/llfloaterworldmap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/llfloaterworldmap.cpp') diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 251539088b..2fe817625a 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -57,6 +57,7 @@ #include "llslurl.h" #include "lltextbox.h" #include "lltracker.h" +#include "llviewerinventory.h" // LLViewerInventoryItem #include "llviewermenu.h" #include "llviewerregion.h" #include "llviewerstats.h" -- cgit v1.2.3