diff options
author | James Cook <james@lindenlab.com> | 2009-06-25 18:41:04 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-06-25 18:41:04 +0000 |
commit | 572ee5c9db2aeec17e1cc7e6c69c72ad8c7ff6fc (patch) | |
tree | bcde6f2a99d2df8bf3c9b1e752ea7b873052a4a0 /indra/newview/llfloaterworldmap.cpp | |
parent | a00af78b95a62c613f9a2ac4a28a0017086c5ffa (diff) |
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.
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rw-r--r-- | indra/newview/llfloaterworldmap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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" |