aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-22Glue code for a couple of new LSL function implementationsMelanie1-0/+12
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie1-5/+0
pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
2009-11-21* Fixes the second of two terse update issues. Physical objects should react ↵Teravus Ovares (Dan Olivares)1-0/+1
normally again.
2009-11-21* Fixes one of two terse update issues. There's still one left, but this ↵Teravus Ovares (Dan Olivares)1-0/+3
one fixes the situation where the object on the server is moving but no updates are being sent.
2009-11-09* Removing the redundant SendPrimitiveTerseData.State field, it duplicates ↵John Hurliman1-3/+1
AttachPoint * LLClientView.CreateImprovedTerseBlock() now uses AttachPoint and does the proper high-low swap (this should fix disappearing attachment pieces)
2009-11-04Initialize SceneObjectPart.RotationOffset to Quaternion.IdentityJohn Hurliman1-1/+1
2009-11-02Fixing race conditions in the SceneObjectPart propertiesJohn Hurliman1-56/+53
2009-11-02Removing duplicate SceneObjectPart.RotationalVelocity propertyJohn Hurliman1-13/+7
2009-10-29* Log progress messages when loading OAR files with a lot of assetsJohn Hurliman1-1/+1
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-28Always send a time dilation of 1.0 while we debug rubberbanding issuesJohn Hurliman1-3/+2
2009-10-28* Standalone logins will now go through the sequence of "requested region, ↵John Hurliman1-7/+8
default region, any region" before giving up * Hip offset should have been added not subtracted (it's a negative offset). This puts avatar feet closer to the ground * Improved duplicate checking for terse updates. This should reduce bandwidth and walking through walls
2009-10-28* Reduce the velocity tolerance on sending terse updates to avoid slowly ↵John Hurliman1-1/+1
drifting prims/avatars * Added contacts_per_collision to the ODE config section. This allows you to reduce the maximum number of contact points ODE will generate per collision and reduce the size of the array that stores contact structures
2009-10-28Track timestamps when terse updates were last sent for a prim or avatar to ↵John Hurliman1-1/+5
avoid floating away forever until a key is pressed (deviates from SL behavior in a hopefully good way)
2009-10-27Lowering the position tolerance of terse updates for ScenePresences to ↵John Hurliman1-1/+1
mitigate some of the rubberbanding issues while we are sending incorrect time dilation values
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-23/+23
2009-10-26* Double the priority on avatar bake texture requests to get avatars rezzing ↵John Hurliman1-10/+34
in faster than the surrounding scene * Adds duplicate tracking for SceneObjectParts and ScenePresences to avoid sending out duplicate ImprovedTerseObjectUpdate packets
2009-10-25Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman1-55/+54
Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces * Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff * Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape() * Improved the instantiation of PrimitiveBaseShape
2009-10-23Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman1-61/+60
avoiding locking and copying the list each time it is accessed
2009-10-18* Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate ↵John Hurliman1-3/+3
packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away * Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
2009-10-15Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman1-4/+4
implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
2009-10-15* Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman1-11/+1
so it is clear who/what the broadcast is going to each time * Removed two redundant parameters from SceneObjectPart * Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs) * Committing a preview of a new method for sending object updates efficiently (all commented out for now)
2009-10-04disable physics actors for flexible primsdahlia1-3/+4
2009-10-01Formatting cleanup.Jeff Ames1-3/+3
2009-09-30And another merge issueKitto Flora1-0/+1
2009-09-30And anotherKitto Flora1-1/+1
2009-09-30Another small change to avoid later merge conflictKitto Flora1-2/+3
2009-09-30Small chaneg to adapt to trunkKitto Flora1-2/+3
2009-09-30Commit initial version of KittoFlora's vehicle changesopensim1-154/+113
2009-10-01Formatting cleanup.Jeff Ames1-9/+9
2009-09-29 This fix addresses the problem where phantom objects do notAlan M Webb1-1/+1
always behave like they are phantom, and llVolumeDetect seems to operate in a random fashion. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-1/+1
2009-09-17 While running a test case I had written to pursue problems withAlan M Webb1-113/+152
llDie() not always completely working, I discovered I was getting a lot (60+ over 6000 iterations of the test case) null pointer exceptions in various physics related checks in SceneObjectPart. It was apparent that the (frequent) checks for PhysActor being non-null is an insufficient protection in a highly asynchronous environment. The null reference exceptions are one example of failure, but it could also happen that a sequence started with one instance of a PhysicsActor might finish with another? Anyway, I have implemented a safer mechanism that should stop the errors. I re-ran my test case with the fix in place, and completed nearly 1000 iterations without a single occurrence. SceneObjectPart is seriously in need of rejigging, if not for this reason, then for its ridiculous size. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-09* Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)1-0/+2
murky. This affects Mono only.
2009-08-29* Fix the reason why physical vehicles have a problem in virtual regions.Teravus Ovares (Dan Olivares)1-1/+2
2009-08-16Misc cleanup.Jeff Ames1-27/+25
2009-08-15Changed FromAssetID to FromItemIDDiva Canto1-3/+3
2009-08-13Formatting cleanup. Fix some compiler warnings.Jeff Ames1-26/+23
2009-08-07Another stab at cmickeyb's patch for script GC.Melanie1-8/+8
Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
2009-08-07Revert the XEngine memleak patch, it causes premature GC.Melanie1-8/+8
This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
2009-08-06|From: James J Greensky <jame.j.greensky@intel.com>Melanie1-8/+8
|Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.
2009-08-04Add plumbing for the SceneObjectDeleter to wait for the script engine toMelanie1-0/+5
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-07-15A stab at implementing llSetDamage. Not persistent.Melanie Thielker1-0/+9
2009-06-26Extracted the code that handles the sending of prim updates to the client, ↵MW1-4/+4
from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes. By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-10Formatting cleanup.Jeff Ames1-2/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-29* refactor: little tweaks to trigger another buildJustin Clarke Casey1-4/+15
2009-05-29* Add save xml2 serialization testJustin Clarke Casey1-0/+2
2009-05-29reinstate a hopefully more robust experimental decoded sculpt map caching schemeDahlia Trimble1-2/+2
2009-05-29disable sculpt map caching until a better method of avoiding asset requests ↵Dahlia Trimble1-1/+3
can be found
2009-05-29null test for texture assets when using cached sculpt mapDahlia Trimble1-2/+3
addresses mantis #3735