8 Commits

Author SHA1 Message Date
UbitUmarov
ffb4cd7867 cosmetics 2024-04-24 00:07:26 +01:00
UbitUmarov
5d420346cb search a prim inventory matching both name and asset type, on some LSL and OSSL, other functions 2022-10-24 02:12:15 +01:00
UbitUmarov
ff0422cbd7 search a prim inventory matching both name and asset type, on some LSL and OSSL 2022-10-24 01:37:01 +01:00
UbitUmarov
55fb69f8e0 a few changes on teleport lookat 2021-09-15 23:01:01 +01:00
UbitUmarov
fde3727453 avoid null refs on part inventory, that can happen if only using default animations names for example 2020-06-02 17:02:42 +01:00
UbitUmarov
fad6295398 change ossl link sound functions to search for sound both on script host and target prims 2018-11-14 19:02:00 +00:00
Justin Clark-Casey (justincc)
dfe5826f9f Remove wrong code in ScriptUtils.GetAssetIdFromKeyOrItemName which would return the item ID instead of the asset ID if the identifier was a uuid that matched an inventory item name.
This would practically never happen.
This makes this overloaded version of the function consistent with the other version.
It looks like this accidentally came over in commit c5af16a from Tue Oct 16 12:40:21 2012
However, there's arguably a case for looking for an item name that matches a UUID before assuming that the identifier is already an asset ID.
2013-02-06 01:49:32 +00:00
Justin Clark-Casey (justincc)
5c94346bd7 refactor: Move functions that lookup asset ids from task inventory or pass them through to ScriptUtils class in OpenSim.Region.Framework.dll
Renames functions to better reflect what they do.
This is so that code registering with modInvoke() can reuse this code to provide functions that behave in a consistent manner with existing LSL/OSSL functions.
2013-02-06 01:17:19 +00:00