diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-07-06 12:29:30 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-07-06 12:29:30 -0700 |
commit | 69bc798e7d6ceddc1013ea5d7f62061960627fe2 (patch) | |
tree | a5b6e9eb30dbeda25fa56eafa1b110109f7564d6 /indra/newview/llmaterialeditor.h | |
parent | 6369180eae30f2a4dfa7dc4a10149c632d69c4c3 (diff) | |
parent | cfddc1b539a69155bfae1f7fa672ca202a772505 (diff) |
Merge branch 'DRTVWR-559' of bitbucket.org:lindenlab/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/llmaterialeditor.h')
-rw-r--r-- | indra/newview/llmaterialeditor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llmaterialeditor.h b/indra/newview/llmaterialeditor.h index a632d5c823..dd0a17976c 100644 --- a/indra/newview/llmaterialeditor.h +++ b/indra/newview/llmaterialeditor.h @@ -81,12 +81,15 @@ public: bool decodeAsset(const std::vector<char>& buffer); - bool saveIfNeeded(LLInventoryItem* copyitem = nullptr, bool sync = true); + bool saveIfNeeded(); + static bool saveToInventoryItem(const std::string &buffer, const LLUUID &item_id, const LLUUID &task_id); static void finishInventoryUpload(LLUUID itemId, LLUUID newAssetId, LLUUID newItemId); static void finishTaskUpload(LLUUID itemId, LLUUID newAssetId, LLUUID taskId); + static void finishSaveAs(const LLUUID &oldItemId, const LLUUID &newItemId, const std::string &buffer); + void refreshFromInventory(const LLUUID& new_item_id = LLUUID::null); void onClickSaveAs(); @@ -143,6 +146,8 @@ public: void setDoubleSided(bool double_sided); void setHasUnsavedChanges(bool value); + void setCanSaveAs(BOOL value); + void setCanSave(BOOL value); void onCommitAlbedoTexture(LLUICtrl* ctrl, const LLSD& data); void onCommitMetallicTexture(LLUICtrl* ctrl, const LLSD& data); |