aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-4/+4
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-17Major change to how appearance is managed, including changes in login and ↵diva1-17/+23
user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-3/+2
* This is always available at Scene.CommsManager.AssetCache
2009-02-15This started as way to correct Mantis #3158, which I believe should be fixed ↵diva1-4/+4
now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-14This hopefully fixes a long-standing annoying behavior related to neighbour ↵diva1-1/+6
regions going up & down while avies are logged in (mantis #2701, perhaps? maybe not). This is the bug mentioned 2 commits ago. If this proves to work well in OSGrid, there's a lot of old code cleaning to do.
2009-02-14Moved RegionUp to REST/LocalComms. The original functionality has been ↵diva1-1/+10
entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-13* Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey1-2/+2
* This was the cause of teleport tests interfering with each other
2009-02-13* refactor: move alert commands from Scene to DialogModuleJustin Clarke Casey1-30/+0
2009-02-13* Quieten down log messages from the Friends moduleJustin Clarke Casey1-1/+0
2009-02-13* refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModuleJustin Clarke Casey1-56/+4
2009-02-13* Remove old Scene.CreateTerrainTexture code that is now handled by the ↵Justin Clarke Casey1-392/+5
world map module
2009-02-13* refactor: Move export map function to world map module from sceneJustin Clarke Casey1-53/+1
2009-02-13Bug fix in prim crossing: making it clear when the local object needs to be ↵diva1-1/+1
cloned (regions on the same instance) and when it doesn't (regions on different instances).
2009-02-12Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva1-0/+5
of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop. Note: weirdnesses may occur!
2009-02-12* optimized usings.lbsa711-30/+26
2009-02-11Enforce estate bans on Teleports.diva1-1/+27
2009-02-11* minor: remove some mono compiler warningsJustin Clarke Casey1-2/+2
2009-02-10Fixes the problem of attachment offset after crossings/TPs. Hopefully it ↵diva1-37/+34
fixes mantis #3126, as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-09Fixes a failed unit test on ScenePresences tests. That test unit needs some ↵diva1-1/+2
fixing too.
2009-02-09Moved prim crossing out of OGS1 and into RESTComms and ↵diva1-97/+135
LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011, mantis #1698. Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP. The two most notable changes in the crossing process were: * Object gets passed in only one message, not two as done before. * Local object crossings do not get serialized, as done before.
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-1/+1
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
2009-02-07Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker1-4/+14
line editing, context sensitive help (press ? at any time), command line history, a new plugin command system and new appender features thet let you type while the console is scrolling. Seamlessly integrates the ICommander interfaces.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-12/+14
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-05* refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey1-177/+9
the large number of different things that Scene does
2009-02-04Addresses a race condition that happened between the viewer and the ↵diva1-1/+13
departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-04Added a ForceSceneObjectBackup method to Scene, which as it says forces a ↵MW1-1/+9
database backup/update on the SceneObjectGroup. This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object. Fix Mantis #1004 Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set. It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-60/+60
- trim trailing whitespace
2009-02-02* Minor refactoring and comments updateslbsa711-6/+11
* Ignored some gens
2009-01-22* Adds a Scene Getter property called SceneContents for the Scene's ↵Teravus Ovares1-0/+5
m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-96/+9
* No functional changes in this revision
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-2/+9
teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-15Eased the locking times of ScenePresences. No locks were removed, just the ↵diva1-24/+31
locking periods changed. * Added an additional lock in GetScenePresences() * Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-1/+3
* Does not yet check results.
2009-01-14* Adjust log messages so that we don't get a CONNECTION BEGIN for ↵Justin Clarke Casey1-25/+17
notifications that won't actually lead to a client connection (because they are from a neighbouring teleport target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14* Remove absolute position and authentication handler addition for incoming ↵Justin Clarke Casey1-2/+0
'new user notifications' that have existing scene presences * The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14* minor: Change around more debugging messagesJustin Clarke Casey1-6/+17
2009-01-14* Do some log tweaking to better see incoming connection success (and failure)Justin Clarke Casey1-8/+11
2009-01-14Easy on locking m_scenePresences in RequestTeleportLocation. With the extra ↵diva1-4/+7
locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-13* Fix a few caps limiter that were causing problemsTeravus Ovares1-2/+9
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13* Removing set-time command since it doesn't actually do anything at allJustin Clarke Casey1-16/+0
* If this was crucial to someone then it should be reinsertable as a module
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-0/+11
Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
2009-01-08* refactor: move url sending from scene to DialogModuleJustin Clarke Casey1-23/+0
2009-01-08* minor: Remove now unused SendEstateMessage... method in Scene I forgot ↵Justin Clarke Casey1-18/+0
from last commit
2009-01-08* refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey1-12/+0
2009-01-08* refactor: move code for sending a message to all users in a region to the ↵Justin Clarke Casey1-28/+8
DialogModule
2009-01-07* refactor: Make some direct IClientAPI calls go through the dialog module ↵Justin Clarke Casey1-9/+9
instead
2009-01-07* Move general alert code to DialogModule.Justin Clarke Casey1-28/+6
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07* refactor: Establish DialogModule, move some alert code from Scene to hereJustin Clarke Casey1-46/+11
2009-01-07* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a ↵Justin Clarke Casey1-18/+0
direct call
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-10/+0