Dan Lake
30a9cee425
Merge branch 'master' into dev
...
Conflicts:
OpenSim/Region/ClientStack/Linden/Caps/ObjectCaps/UploadObjectAssetModule.cs
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/Framework/Scenes/UndoState.cs
2011-07-20 14:35:06 -07:00
Justin Clark-Casey (justincc)
7247ca1644
use constants in llGetObjectDetails() rather than magic numbers
2011-07-16 00:08:11 +01:00
Justin Clark-Casey (justincc)
0ee7a5ee81
If object is an attachment, make llGetVel() return the avatar's speed rather than the object's own zero speed.
...
As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-15 23:36:32 +01:00
Dan Lake
7447765f4d
Merge branch 'master' into dev
...
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
2011-07-15 15:32:42 -07:00
Justin Clark-Casey (justincc)
3e456163dd
Port implementation of llCastRay() from Aurora.
...
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-12 22:13:15 +01:00
Justin Clark-Casey (justincc)
6963b8b046
refactor: Get LSLString(LSLInteger i) constructor to now call LSLString(int i) structure to remove code duplication.
2011-07-09 01:28:27 +01:00
Makopoppo
df586c9d25
Raw int numbers (ex.LSL Constants) are displayed like "1.000000" when type cast to string
2011-07-09 01:27:12 +01:00
Justin Clark-Casey (justincc)
f680c13495
Fix osMatchString() so that it reports all instance of pattern matches, not just the first one.
...
This is a slight adaptation of the patch in http://opensimulator.org/mantis/view.php?id=4568 which doesn't apply directly since the underlying code was changed by earlier makopoppo patches.
Thanks makopoppo!
2011-07-09 01:24:30 +01:00
Justin Clark-Casey (justincc)
52c3671aa0
fix formatting issues from last patch
2011-07-09 01:17:35 +01:00
Makopoppo
b983f38e2a
lsGetWindlightScene() returns raw int value, which makes unable to compare to another value with llListFindList()
2011-07-09 01:08:26 +01:00
Makopoppo
04f8d0e45d
Made some LSL_Constant or LS_Constant raw int values
2011-07-09 01:08:13 +01:00
Makopoppo
e7abf834d1
Instance-types-in-list fix for LSL/OSSL functions. This will fix llListFindList() which always returns -1 when you compare with the list from those functions.
...
*llCSV2List
*llGetAnimationList
*llGetLinkPrimitiveParams
*llGetObjectDetails
*llGetParcelDetails
*llGetParcelPrimOwners
*llGetPrimitiveParams
*GetLinkPrimitiveParamsEx
*osGetAgents
*osMatchString
*osGetLinkPrimitiveParams
*osGetPrimitiveParams
*osGetAvatarList
2011-07-09 00:49:53 +01:00
Justin Clark-Casey (justincc)
d79c6c8820
Rename SetSculptData() to SetSculptProperties(), since this is what it does (setting SculptData is done through the property)
2011-07-09 00:42:48 +01:00
Justin Clark-Casey (justincc)
513d63455e
Create a very basic initial test which just creates an 'npc' and tests that the scene presence exists
2011-07-02 01:01:40 +01:00
Makopoppo
ee92f22f2a
[PATCH 2/2] [FIX] osGetPrimitiveParams() and osSetPrimitiveParams()
...
crashes throwing System.NullReferenceException
Signed-off-by: BlueWall <jamesh@bluewallgroup.com >
2011-06-28 11:48:29 -04:00
Makopoppo
80010f8908
[PATCH] osSetSpeed() will accept float number
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com >
2011-06-28 11:48:28 -04:00
Makopoppo
ffa790d69d
[PATCH] Get osGetWindParam() and osSetWindParam() accessible
...
Signed-off-by: BlueWall <jamesh@bluewallgroup.com >
2011-06-28 11:48:28 -04:00
Makopoppo
882d5c82b3
[PATCH 1/2] Fixed the function names of some OSSL functions shown as
...
threat-level check error message
Signed-off-by: BlueWall <jamesh@bluewallgroup.com >
2011-06-28 11:48:28 -04:00
Oren Hurvitz
0dd3281caf
Optionally, don't delete previously compiled scripts on startup
2011-06-24 22:07:20 +01:00
Dan Lake
32ddcefaca
Merge branch 'master' into dev
...
Conflicts:
OpenSim/Region/Framework/Scenes/EventManager.cs
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SceneGraph.cs
OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs
2011-06-14 23:15:34 -07:00
Justin Clark-Casey (justincc)
66004a9375
If an llSensor() is in an attachment, make the detection cone face in the direction of the avatar, not the relative rotation of the attachment towards the avatar.
...
This is effectively a copy/paste from 459323a , which should be refactored sometime.
This seems the obvious problem from field reports but I have not tested the fix myself. Feedback welcome.
2011-06-03 23:43:09 +01:00
Huaiyu (Kitty) Liu
06d002cc3b
On handling UpdatePrimProperties, if the properties updated are all in the terse-update
...
list, only trigger SOP.ScheduleTerseUpdate; otherwise, trigger ScheduleFullUpdate.
This is to prevent client managers to send big updates to clients, especially when a link-set
object moves around.
2011-06-03 11:35:37 -07:00
Huaiyu (Kitty) Liu
a17f0a0ea1
Fixed the problem that notecard updating was not propagated -- now syned
...
across actors, bit viewers may not always get the correct update.
2011-05-31 16:23:06 -07:00
Huaiyu (Kitty) Liu
0be7f9d804
Fixed bug in GridDialogModule that sends infinite Dialog messages.
...
Added ScheduleFullUpdate to llSetObjectName, so that the property change is captured by sync module.
2011-05-31 12:54:22 -07:00
Melanie
24c00acedc
Fix Mantis #4429 : Allow llGiveInventory to work across sim borders.
2011-05-23 02:52:28 +01:00
BlueWall
dc95e38e42
Add stubs for unimplemented lsl functions
2011-05-22 14:59:18 -04:00
Justin Clark-Casey (justincc)
bb9b317f15
Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just OpenSim.Tests.Common instead
2011-05-21 01:05:20 +01:00
Justin Clark-Casey (justincc)
9fc29e1595
Implement llGetLinKNumberOfSides().
...
Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong.
2011-05-20 20:19:32 +01:00
Justin Clark-Casey (justincc)
6e7b588235
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2011-05-20 20:06:51 +01:00
Kim King
a2c19847b4
ScriptEngine/Shared: Fix bug 5473 (v2).
2011-05-20 20:00:55 +01:00
BlueWall
926a100652
Add stub for llGetLinkNumberOfSides(integer link)
2011-05-19 01:34:11 -04:00
Justin Clark-Casey (justincc)
340e3ccf16
refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() instance methods since it didn't make sense to use anything other than the instance themselves.
2011-05-14 02:42:47 +01:00
Justin Clark-Casey (justincc)
bef1ffa7db
simplify code in llGetParcelMaxPrims() to use existing code in LandObject rather than duping the algo
2011-05-14 02:34:46 +01:00
Justin Clark-Casey (justincc)
1d86079141
Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere instead of the old 0.22 prims/meter squared fudge factor.
...
Thanks to tglion for this.
2011-05-14 01:26:04 +01:00
Huaiyu (Kitty) Liu
7aaacbc4a6
Removed IScriptEngineToSceneConnectorModule interface.
...
Removed SendNewObject, SendDeleteObject, SendLinkObject, and SendDelinkObject that used Bucket Sync info.
2011-05-11 14:25:22 -07:00
Huaiyu (Kitty) Liu
cd70c3ff56
Merge branch 'dev_perPropertyTS' into dev
...
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
2011-05-03 16:55:23 -07:00
Huaiyu (Kitty) Liu
4afd3f6602
Commented out some debug messages.
2011-05-03 14:38:21 -07:00
Huaiyu (Kitty) Liu
54ba7a61f8
Added back some debug messages, seems now shapes are sync'ed properly again.
2011-05-03 13:16:39 -07:00
Huaiyu (Kitty) Liu
bceafb4291
removed a bunch of debug messages, which were added to debug why shape was not synchronizing properly.
2011-05-02 15:17:17 -07:00
Huaiyu (Kitty) Liu
49139f53bb
Replaced all calling to SendLinkObject to SyncLinkObject.
...
Added a bunch of debugging message to keep track of Shape updates synchronization.
2011-04-29 16:49:53 -07:00
Huaiyu (Kitty) Liu
1c1d3893fc
DelinkFromGroup now calls AddNewSceneObjectByDelink, to avoid calling SyncNewObject later.
...
Also, replace all "SYMMETRIC SYNC" with "DSG SYNC" in comments.
2011-04-20 14:59:06 -07:00
Dan Lake
da6044b6be
Merge branch 'master' into dev
...
Conflicts:
OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs
OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
2011-04-19 11:52:25 -07:00
Huaiyu (Kitty) Liu
9dfc0e92b8
Changed Enum type SceneObjectPartProperties to SceneObjectPartSyncProperties,
...
to indicate they are the properties synchronzed by the sync protocol.
Also, added UUID to PrimSyncInfo.
Encode/Decode SOP to/from OSDmap seems working fine now.
2011-04-15 10:42:57 -07:00
Justin Clark-Casey (justincc)
e8ecb2898c
minor: remove some mono compiler warnings
2011-04-11 22:33:24 +01:00
Huaiyu (Kitty) Liu
7c033f9d08
Added calling ScheduleFullUpdate() after SendFullUpdateToAllClients() is called in
...
several places in LSL_Api.cs.
2011-04-08 15:16:39 -07:00
Melanie
abea0c74c2
Add support for the new display name related functions in LSL. This does not
...
implement the display names functionality as such, but it allows scripts
that are display name aware to function as if the display name were implemented
and set to the avatar name.
2011-04-08 04:19:17 +01:00
Justin Clark-Casey (justincc)
f030ba8992
replace magic numbers in llGetParcelPrimCount() with constants
2011-04-05 20:39:58 +01:00
Justin Clark-Casey (justincc)
dc6ce24443
switch llGetParcelPrimCount() to use new prim counts module
2011-04-05 20:31:52 +01:00
dahlia
e974fde953
check threat configuration for LSL print()
2011-03-31 22:56:04 -07:00
dahlia
8c8a0a182e
implement LSL "print()" API function
2011-03-31 21:14:53 -07:00