diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-08-27 16:27:34 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-08-27 16:27:34 +0300 |
commit | 27ce2a23a286709c90579db31c2551e0c3f292e7 (patch) | |
tree | e79d4f065c1d47ce9e9bbd2f2f20d089c7c9027c /indra/newview/scripts/lua/test_LLInventory.lua | |
parent | 2142a4590ab1973a22e2db3aeccfe4d9e616471f (diff) |
code clean up
Diffstat (limited to 'indra/newview/scripts/lua/test_LLInventory.lua')
-rw-r--r-- | indra/newview/scripts/lua/test_LLInventory.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/scripts/lua/test_LLInventory.lua b/indra/newview/scripts/lua/test_LLInventory.lua index dc6eb243ad..107b0791d4 100644 --- a/indra/newview/scripts/lua/test_LLInventory.lua +++ b/indra/newview/scripts/lua/test_LLInventory.lua @@ -4,7 +4,7 @@ LLInventory = require 'LLInventory' -- Get 'My Landmarks' folder id (you can see all folder types via LLInventory.getFolderTypeNames()) my_landmarks_id = LLInventory.getBasicFolderID('landmark') -- Get 3 landmarks from the 'My Landmarks' folder (you can see all folder types via LLInventory.getAssetTypeNames()) -landmarks = LLInventory.collectDescendentsIf{folder_id=my_landmarks_id, type="landmark", item_limit=3} +landmarks = LLInventory.collectDescendentsIf{folder_id=my_landmarks_id, type="landmark", limit=3} print(inspect(landmarks)) -- Get 'Calling Cards' folder id |