diff options
author | Jonathan Yap <none@none> | 2013-12-12 08:51:15 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2013-12-12 08:51:15 -0500 |
commit | 2d701456a07d37a520f436f9e83b1008e492f232 (patch) | |
tree | 679c6c2235940f3fab1ccb2c69f6637f384ac18e /indra/newview/llviewerinventory.cpp | |
parent | 35daa8031979fc708640e2f2f9ab849e6cb156dd (diff) |
STORM-68 Fix bug for new gestures, notecards, and scripts where a copied item did not preserve its default permissions.
Add apply button.
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rwxr-xr-x | indra/newview/llviewerinventory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index c52505e4b3..5c41ef52b6 100755 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -1004,6 +1004,7 @@ void create_script_cb(const LLUUID& inv_item) item->setPermissions(perm); + item->updateServer(FALSE); gInventory.updateItem(item); gInventory.notifyObservers(); } @@ -1024,6 +1025,7 @@ void create_gesture_cb(const LLUUID& inv_item) item->setPermissions(perm); + item->updateServer(FALSE); gInventory.updateItem(item); gInventory.notifyObservers(); @@ -1047,6 +1049,7 @@ void create_notecard_cb(const LLUUID& inv_item) item->setPermissions(perm); + item->updateServer(FALSE); gInventory.updateItem(item); gInventory.notifyObservers(); } |