aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-23* Implements Oriented Bounding Box raytracing.Teravus Ovares3-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.
2008-03-22Update svn properties.Jeff Ames5-1963/+1963
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen12-1868/+2013
2008-03-22Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria1-2/+16
2008-03-22* Miscellaneous comment before I found out that mantis 807 probably isn't an ↵Justin Clarke Casey1-2/+6
issue worth fixing.
2008-03-22* Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey1-3/+20
SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
2008-03-22* Downgrade 'texture not found' message to DEBUG and stop putting out ↵Justin Clarke Casey1-7/+7
'already dispatched' message completely temporarily * I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it. * My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added... * If this is the cause, resolution is going to be rather complicated.
2008-03-22* Reducing spam on console so we only notify once if we're dropping repeated ↵Justin Clarke Casey1-22/+29
requests for missing textures * Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22* Minor log message changeJustin Clarke Casey1-1/+1
2008-03-22* Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey1-1/+4
execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
2008-03-22* Committing some math to discover the Oriented Bounding Box and decomposing ↵Teravus Ovares1-0/+113
it into planes and normals. * No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-21Remove a couple more compiler warnings by commenting unused variables.Charles Krinke1-2/+6
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21* Small adjust to last commit's logging so we only print out one warning ↵Justin Clarke Casey1-3/+6
when we start dropping requests
2008-03-21* If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey1-11/+19
n=5), we now drop the subsequent requests * This may improve region memory usage * This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it * This treats the symptom rather than the cause. * n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21Comment out an unused 'str' and add a WriteLine to useCharles Krinke1-1/+4
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21* Updated ray tracing code. It's now good enough to use when the XYZ ↵Teravus Ovares3-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.
2008-03-21* Removed more encoding faults.Adam Frisby2-7/+1
2008-03-21* Converted a large number of ASCII encodings to UTF8.Adam Frisby3-3/+5
* 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.
2008-03-21* Fix for #499: linked primsets don't rotate properly when using a door ↵Teravus Ovares1-1/+1
script that works OK on SL * Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey4-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.
2008-03-20Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the ↵MW1-1/+1
packetpool, which somewhere through time got lost/reverted
2008-03-20Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey1-2/+1
commented out) to find out what CAPS is doing
2008-03-19Fix server crash when setting prims physical under basic physics.Jeff Ames1-2/+6
2008-03-19* Adding log debugging messages and making others more explicitJustin Clarke Casey2-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).
2008-03-19* Fix for if 782: Locked prims may still be moved by click+drag.Teravus Ovares2-1/+35
* 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.
2008-03-19* Print a warning every 20 times a client requests a texture that it should ↵Justin Clarke Casey1-23/+43
already have received * The warning will be [USER TEXTURE DOWNLOAD SERVICE]: Received {0} requests for already dispatched texture {1} from client {2} This is to see whether the texture packet queue memory leak is caused by clients continually re-requesting textures they should already have
2008-03-19* Documentation patch from krtaylor. Thanks!Justin Clarke Casey1-0/+3
2008-03-19Fixed some comparisons of LLUUIDs to null.Jeff Ames3-11/+7
Thanks to DrSchofld for pointing this out.
2008-03-18* Add a large amount of extra locking to m_parts in SceneObjectGroup Justin Clarke Casey1-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...
2008-03-18* Stop (which currently removes) all scripts in an object when that object ↵Justin Clarke Casey2-0/+14
is deleted from the region
2008-03-18Formatting cleanup.Jeff Ames5-194/+198
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames1-6/+6
2008-03-18Formatting cleanup.Jeff Ames94-2711/+2623
2008-03-18Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames3-14/+86
2008-03-17* Move missing texture request forward so that we don't actually ask the ↵Justin Clarke Casey1-21/+26
AssetCache for it if we know it's missing.
2008-03-17* DEV: Remove client's CAPS handlers object when they log outJustin Clarke Casey1-1/+6
2008-03-17Fix a few mono compiler warnings. Minor cleanup.Jeff Ames2-4/+4
2008-03-17* Reduce the annoyingness of clients that continually request unfound ↵Justin Clarke Casey1-6/+34
textures (probably for some good reason) by dropping all subsequent requests after the first reply. * Print out a console message every 20 tries rather than every single one. * This weakens the problem but does not eliminate it
2008-03-17Replaced some magic PCode numbers with enum values.Jeff Ames2-2/+2
2008-03-17From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague2-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.
2008-03-16* Fixed prim creation in basic physics mode. ( BasicPhysics returns null ↵Teravus Ovares1-3/+7
probably a lot more then it should? )
2008-03-15Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should ↵MW1-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).
2008-03-14* Fix for Justincc's bug report #768 - Terrain looks rather phallic.Adam Frisby1-3/+6
2008-03-14* Remove stupid bug I just introduced where delinking would only delink one ↵Justin Clarke Casey1-12/+1
prim at a time. * Teaches me not to say stuff like 'this is now working'
2008-03-14* Minor - error message should be a warning. SpellingJustin Clarke Casey2-2/+2
2008-03-14* The rest of the fix necessary for mantis #766 - terse updates brokenJustin Clarke Casey3-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
2008-03-14* As yet incomplete fix for mantis #766 - terse updates brokenJustin Clarke Casey3-3/+27
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally * More work to do here
2008-03-14* You can leave godmode if you want now.Teravus Ovares3-5/+16
* Fixed a compile error.
2008-03-14* Added null root part guardlbsa714-22/+18
* Normalized some UUID handling * Compacted a few Contains/Add into Set
2008-03-14Attempt to fix mantis #741, could not replicate it myself. But the error ↵MW1-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.