diff options
| author | Rider Linden <rider@lindenlab.com> | 2018-08-24 11:59:28 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2018-08-24 11:59:28 -0700 |
| commit | d5f2267369d2695a8aec7c1d0cfa25954ae3c706 (patch) | |
| tree | 28f01231c824b9e42ce82af73b4a2896b4c3c389 /indra/newview/llsettingsvo.cpp | |
| parent | d965af2b0cbf62e2e1601f504e0d548da40aa742 (diff) | |
Remove "Commit" from fixed editor. Check isDirty() before replacing or closing fixed editor.
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
| -rw-r--r-- | indra/newview/llsettingsvo.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index 3638cd0b44..719d682118 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -227,6 +227,14 @@ void LLSettingsVOBase::onAgentAssetUploadComplete(LLUUID itemId, LLUUID newAsset psettings->setAssetId(newAssetId); if (callback) callback( newAssetId, itemId, LLUUID::null, response ); + +#if 0 + std::string exprtFile = gDirUtilp->getTempDir() + gDirUtilp->getDirDelimiter() + newAssetId.asString() + ".llsd"; + + LLSettingsVOBase::exportFile(psettings, exprtFile, LLSDSerialize::LLSD_NOTATION); + + LL_WARNS("LAPRAS") << "SETTINGS File written as: '" << exprtFile << "'" << LL_ENDL; +#endif } void LLSettingsVOBase::onTaskAssetUploadComplete(LLUUID itemId, LLUUID taskId, LLUUID newAssetId, LLSD response, LLSettingsBase::ptr_t psettings, inventory_result_fn callback) |
