aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-12* minor: Lable the heartbeat thread with the region it's beating forJustin Clarke Casey1-1/+1
2009-03-11update some ini defaults in code - all defaults from beginning of ↵Dahlia Trimble1-6/+6
OpenSim.ini.example thru DefaultScriptEngine = "XEngine"
2009-03-06* refactor: Remove GetLandOwner function from SceneJustin Clarke Casey1-13/+0
* Simplify since the land is never null
2009-03-05* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey1-5/+0
(which is used in other contexts)
2009-03-05* refactor: move media and music url setting from scene into LandObjectJustin Clarke Casey1-14/+0
2009-03-05* simplify media and music url setting since we never get back a null land ↵Justin Clarke Casey1-24/+5
object
2009-03-04* More work on MiniRegionModule module.Adam Frisby1-0/+1
2009-03-03Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW1-5/+22
There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server) Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-02After another heroic and bloody battle, OpenSim Dino Expedition 1, killed ↵MW1-18/+0
off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
2009-02-23Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-2/+2
2009-02-23* Commenting out threaded Scene update for the moment.Adam Frisby1-2/+3
* It works, but makes certain building tasks slow to update.
2009-02-23* Fix for recent thread patch - IsAlive apparently is not as reliable as ↵Adam Frisby1-1/+2
ThreadState.
2009-02-23* Performance Changes:Adam Frisby1-1/+15
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity. * Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled. * MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-6/+6
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22* Fixes an assumption whereby Scene assumes that each client is capable of ↵Adam Frisby1-0/+8
producing a circuit. This affects non-Linden derived viewers who do not utilize circuits.
2009-02-22Addresses some issues with appearance after TPs. Appearance.Owner was not ↵diva1-1/+1
being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204.
2009-02-20* Renamed and encapsulated m_sceneGraph as SceneGraph for ccclbsa711-1/+10
2009-02-20THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva1-28/+0
versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20This moves the 2 friends-related interregion messages out of OGS1 and into ↵diva1-10/+0
the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-19Thank you, Snowdrop, for a patch that makes the callback ID parameterMelanie Thielker1-1/+1
usable. Applied with formatting changes, please don't introduce K&R style indentations into OpenSim Fixes Mantis #3190
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