diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-12-11 22:48:46 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-12-11 22:48:46 +0200 |
commit | eaa4e977d687abbfb28687c66cb0b92e66deb484 (patch) | |
tree | 71dd0e771853413e9457d17516870a70f1fe3c0b /indra/newview/llpanelobject.h | |
parent | b3d57f93b6c445578ea3f4caf596472f4ee6fa43 (diff) |
SL-12334 [Copypaste] Texture is not copied to clipboard from a full-perms object
Diffstat (limited to 'indra/newview/llpanelobject.h')
-rw-r--r-- | indra/newview/llpanelobject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanelobject.h b/indra/newview/llpanelobject.h index 0c37e837ad..65f46a8ed3 100644 --- a/indra/newview/llpanelobject.h +++ b/indra/newview/llpanelobject.h @@ -88,6 +88,12 @@ public: bool pasteCheckMenuItem(const LLSD& userdata); void pasteDoMenuItem(const LLSD& userdata); bool pasteEnabletMenuItem(const LLSD& userdata); + static bool isLibraryTexture(LLUUID image_id); + + // Finds copy-enabled texture with specified asset from inventory + // This can be performance unfriendly and doesn't warranty that + // the texture is original source of asset + static LLUUID getCopyPermInventoryTextureId(LLUUID image_id); static bool canCopyTexture(LLUUID image_id); protected: |