aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * OBB: Flipped the -y face normal so ray casting against the -y face ↵Teravus Ovares2008-03-241-4/+4
| | | | correctly results in the point of collision.
* * Inflate my commits with yet another snippet of documentation... (j/k)Justin Clarke Casey2008-03-241-1/+2
|
* * Put in tiny doc snippet while I rememberJustin Clarke Casey2008-03-241-0/+3
|
* * Clean up Scene.AddCapsHandler(). There was a race condition warning, but ↵Justin Clarke Casey2008-03-242-37/+17
| | | | | | | | | I don't think this is now relevant... * Remove some now extraneous CAPS related messages
* * Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2008-03-232-3/+4
| | | | | | | | | | | * This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default (9000) port. * If you are running a region server, this may only work properly once your grid server upgrades to this revision * PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until the grid and region (and possibly all the region's neighbours) have upgraded to this revision. * This revision also adds extra login related messages, both for success and failure conditions
* * Added a little more stability for getting the object list from the parcel ↵Teravus Ovares2008-03-231-2/+14
| | | | | | | box. (previously it crashed my simulator) * Found and gracefully handled a few situations where null references occur. (m_rootPart again!)
* * Implements Oriented Bounding Box raytracing.Teravus Ovares2008-03-233-51/+247
| | | | | | * It's not perfect, but it's good enough. (rarely erroneously returns a backface collision) * After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-225-71/+39
|
* Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria2008-03-221-2/+16
|
* * Miscellaneous comment before I found out that mantis 807 probably isn't an ↵Justin Clarke Casey2008-03-221-2/+6
| | | | issue worth fixing.
* * Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey2008-03-221-3/+20
| | | | SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
* * Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey2008-03-221-1/+4
| | | | | | | | execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
* * Committing some math to discover the Oriented Bounding Box and decomposing ↵Teravus Ovares2008-03-221-0/+113
| | | | | | | it into planes and normals. * No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
* Remove a couple more compiler warnings by commenting unused variables.Charles Krinke2008-03-211-2/+6
| | | | | This takes us down to 15 compiler warnings on a VS2005 C# build.
* * Updated ray tracing code. It's now good enough to use when the XYZ ↵Teravus Ovares2008-03-213-1/+40
| | | | | | | | | vector components of the scale have a difference of less then 4.5 meters. * When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart). * If we got a hit based on our camera, create the new prim at the edge of the prim we hit. * Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
* * Removed more encoding faults.Adam Frisby2008-03-211-3/+0
|
* * Converted a large number of ASCII encodings to UTF8.Adam Frisby2008-03-211-1/+2
| | | | | | | * We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work.
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-204-49/+85
| | | | | | | | | | | | non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
* Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey2008-03-201-2/+1
| | | | commented out) to find out what CAPS is doing
* Fix server crash when setting prims physical under basic physics.Jeff Ames2008-03-191-2/+6
|
* * Adding log debugging messages and making others more explicitJustin Clarke Casey2008-03-192-9/+36
| | | | | | | * This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue * For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
* * Fix for if 782: Locked prims may still be moved by click+drag.Teravus Ovares2008-03-191-1/+1
| | | | | * Remember, your admin user and estate managers can move locked objects that are not owned by them. That functionality differs from the Linden way of thinking and it's by design! It is not a bug! Create a non-god user and use that as your normal account.
* Fixed some comparisons of LLUUIDs to null.Jeff Ames2008-03-191-2/+2
| | | | | Thanks to DrSchofld for pointing this out.
* * Add a large amount of extra locking to m_parts in SceneObjectGroup Justin Clarke Casey2008-03-181-125/+235
| | | | | | | * Should help stop any InvalidOperationExceptions caused by concurrent read/write * The extra locking should be okay, but I'm really surprised we've got away without mucho crashes due to this...
* * Stop (which currently removes) all scripts in an object when that object ↵Justin Clarke Casey2008-03-182-0/+14
| | | | is deleted from the region
* Formatting cleanup.Jeff Ames2008-03-182-126/+124
|
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-181-6/+6
|
* Formatting cleanup.Jeff Ames2008-03-1823-611/+589
|
* * DEV: Remove client's CAPS handlers object when they log outJustin Clarke Casey2008-03-171-1/+6
|
* Fix a few mono compiler warnings. Minor cleanup.Jeff Ames2008-03-171-2/+2
|
* Replaced some magic PCode numbers with enum values.Jeff Ames2008-03-172-2/+2
|
* From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague2008-03-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Here's a diff of the changes I have made in support of the following LSL script functions. llSetScriptState llGetScriptState llCSV2List llListRandomize llList2ListStrided llListFindList llResetOtherScript llGetScriptName It was necessary to modify ExecutorBase in support of the ScriptState implementations. I also modified SceneObjectPart and SceneObjectPart.Inventory to corrects a quoting mismatch in the commentary that through off live parsing of the files. I also simplified the State definition at the start of BuiltinCommands.
* * Fixed prim creation in basic physics mode. ( BasicPhysics returns null ↵Teravus Ovares2008-03-161-3/+7
| | | | probably a lot more then it should? )
* Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW2008-03-151-0/+1
| | | | | | | now show up. Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
* * Remove stupid bug I just introduced where delinking would only delink one ↵Justin Clarke Casey2008-03-141-12/+1
| | | | | | | | prim at a time. * Teaches me not to say stuff like 'this is now working'
* * Minor - error message should be a warning. SpellingJustin Clarke Casey2008-03-142-2/+2
|
* * The rest of the fix necessary for mantis #766 - terse updates brokenJustin Clarke Casey2008-03-143-16/+43
| | | | | | | * Even very rapid linking/delinking should now behave normally. Terse updates still occur as before * Hopefully this ends the recent linking problems - please let us know if there are more
* * As yet incomplete fix for mantis #766 - terse updates brokenJustin Clarke Casey2008-03-143-3/+27
| | | | | | | * Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally * More work to do here
* * You can leave godmode if you want now.Teravus Ovares2008-03-143-5/+16
| | | | | * Fixed a compile error.
* * Added null root part guardlbsa712008-03-144-22/+18
| | | | | | * Normalized some UUID handling * Compacted a few Contains/Add into Set
* Attempt to fix mantis #741, could not replicate it myself. But the error ↵MW2008-03-141-130/+137
| | | | was suggesting that the SceneObjectPart was null, so added a null check, to make sure the sceneobject to be attached is found before attempting the attachment.
* * Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL)Teravus Ovares2008-03-142-1/+61
|
* * Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares2008-03-144-1/+10
|
* * Put back a comment I just inexplicably zappedJustin Clarke Casey2008-03-131-1/+1
|
* Just a few commentsJustin Clarke Casey2008-03-131-1/+5
|
* * Very minor comment change to reflect the fact that eliminating spurious ↵Justin Clarke Casey2008-03-131-2/+4
| | | | delink prim updates is low priority
* * Fix Mantis 761 (linking and delinking prims rapidly caused prims to ↵Justin Clarke Casey2008-03-135-19/+55
| | | | | | | | | 'disappear') * Root cause was that if two updates occurred in the same second of time, the second one was never sent * Linking/delinking appears to be okay now
* * Fix mantis 757.Justin Clarke Casey2008-03-124-26/+32
| | | | | | | | * DelinkFromGroup was removing the parts from the delinked group, which later upset the update thread when it tried to do a queued update for that object * Temporary fix is to stop deleting the parts, though it would be good later to stop sending out the now spurious updates * This fix actually reveals another bug, where rapid linking and delinking will cause the non root prims to disappear (though they're actually still there if you relog). This is the next bug to tackle.
* * Don't abort (and keep failing) the update if one Entity gives us an ↵Justin Clarke Casey2008-03-122-31/+44
| | | | | | | | exception when we try to update it * This doesn't remove bug 757, but does largely remove the worst consequences
* Applied patch from mantis #749, Grass now stays to set type when moved. ↵MW2008-03-121-2/+2
| | | | thanks Grumly57.