aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-25* Tear down CAPS and http handlers when an agent leaves a region (via ↵Justin Clarke Casey1-7/+26
crossing, teleport or logout)
2008-03-25* Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares1-1/+1
0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. ) ( Remove ray caster Verbosity )
2008-03-25* Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares1-2/+6
0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
2008-03-25* Remove old CAPS http listeners when a client logs out from a sceneJustin Clarke Casey1-1/+2
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25Comment out unused private methods.Jeff Ames1-19/+20
2008-03-24* Inflate my commits with yet another snippet of documentation... (j/k)Justin Clarke Casey1-1/+2
2008-03-24* Put in tiny doc snippet while I rememberJustin Clarke Casey1-0/+3
2008-03-24* Clean up Scene.AddCapsHandler(). There was a race condition warning, but ↵Justin Clarke Casey1-37/+9
I don't think this is now relevant... * Remove some now extraneous CAPS related messages
2008-03-23* Implements Oriented Bounding Box raytracing.Teravus Ovares1-30/+35
* 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-22*Moved LandManagement into its own region module (spiffy!)mingchen1-61/+27
2008-03-21* Updated ray tracing code. It's now good enough to use when the XYZ ↵Teravus Ovares1-1/+32
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-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey1-46/+54
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-19* Adding log debugging messages and making others more explicitJustin Clarke Casey1-8/+29
* 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-18Formatting cleanup.Jeff Ames1-65/+65
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-03-17* DEV: Remove client's CAPS handlers object when they log outJustin Clarke Casey1-1/+6
2008-03-17Replaced some magic PCode numbers with enum values.Jeff Ames1-1/+1
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* You can leave godmode if you want now.Teravus Ovares1-2/+3
* Fixed a compile error.
2008-03-13* Put back a comment I just inexplicably zappedJustin Clarke Casey1-1/+1
2008-03-13Just a few commentsJustin Clarke Casey1-1/+5
2008-03-13* Fix Mantis 761 (linking and delinking prims rapidly caused prims to ↵Justin Clarke Casey1-1/+1
'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
2008-03-12* Fix mantis 757.Justin Clarke Casey1-0/+24
* 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.
2008-03-12* Don't abort (and keep failing) the update if one Entity gives us an ↵Justin Clarke Casey1-30/+30
exception when we try to update it * This doesn't remove bug 757, but does largely remove the worst consequences
2008-03-08Thank you kindly, Ldviopeng for:Charles Krinke1-0/+16
Patch to implement the following LSL / OS functions llParcelPrimCount(60%) osSetParcelMediaURL
2008-03-07More spelling corrections in the spirit of r3771.Jeff Ames1-5/+5
2008-03-07* Minor spelling corrections as per mantis 712Justin Clarke Casey1-2/+2
2008-03-06* Disabled ancient TerrainEngine.Adam Frisby1-74/+10
* Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
2008-03-05* Removed more compiler warnings, dead code, etc.Adam Frisby1-4/+0
2008-03-05* New Terrain Module (disabled, search for 'usingTerrainModule = false' to ↵Adam Frisby1-1/+1
reenable) * *Much* faster terraforming (woot!) * New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example) * New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times. * New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in. * Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
2008-03-04* One line fix to get everything working again. Essentially set the ↵Teravus Ovares1-1/+0
originRegionID = RegionID in RegionInfo.cs on line 375
2008-03-04Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson1-10/+45
support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
2008-03-03* Removed and sorted using clauses in a number of files.Adam Frisby1-2/+2
* Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader
2008-03-02* This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares1-2/+2
joints. This will change quite drastically, however it's fun to play with. * To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly. This will also be fixed. * Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed. In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go. * This implementation is better then it crashing your sim, so I'm commiting it for now.
2008-02-27* Turned Friends Module into a shared module (to comply with ↵Teravus Ovares1-1/+6
Scene.AddXmlRPCHandler being shared). * Fixed a null ref issue in Scene.Close()
2008-02-27UserService.ClearAgent call is no longer made when a childagent connection ↵MW1-6/+5
is being closed. DisableSimulatorPacket now skips the packet throttles
2008-02-25* Caught HttpListenerException and swallowed if with outputlbsa711-2/+2
* Moved Flush into Close since it's always done in that order. * Minor renamings * Reversed if for clarity
2008-02-20* Cleanup of some memory consuming items on ScenePresence.Close().Teravus Ovares1-1/+25
* Untangled a tangly shutdown loop for the ScenePresence. * Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
2008-02-20* Made a quickupdate method to run through only entities that have scheduled ↵Teravus Ovares1-1/+14
themselves for updates looking for changes. This runs 10 times a second. * Set the massively slow UpdateEntities method to run every 2 seconds instead of 10 times a second. This method runs through *all* of the entities can calls the virtual update(). * Documented some of the code in the scene.Update method.
2008-02-18Thank you very much Ahzzmandius for adding the supportCharles Krinke1-0/+2
to purge the avatars inventory "Trash" folder using the bizarre tortoiseSVN method of diff/patch.
2008-02-16Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW1-4/+8
CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though. But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16Some changes to remove some of the direct calls to CommsManager from Scene, ↵MW1-7/+7
so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!)
2008-02-15* ODE Stability update 4 :D Teravus Ovares1-1/+16
* Changed the way meshing requests get sent to the ODEPlugin * Numerous other fixes
2008-02-15Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not ↵MW1-0/+1
being persisted.
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-12/+12
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14* Exposed AddHandlers in response to mantis #534. Thanks, kmeisthax!lbsa711-4/+33
2008-02-14* Bigisn ODE Stability update 2Teravus Ovares1-0/+7
2008-02-13* Removed a debug line that got called every frame.Teravus Ovares1-1/+1
2008-02-13* Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares1-1/+1
(though I still don't recommend it for welcome regions unless object build is off. * Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode. * Added internal collision score and am keeping track of 'high usage' prim. * Tweaked collisions some more * Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
2008-02-13Clean up more unnecessary String.Format callsJeff Ames1-10/+6