aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-11documentation (OnClientMovement)SignpostMarv1-0/+7
2012-09-11Documenting some of the events on ↵SignpostMarv1-0/+8
OpenSim.Region.Framework.Scenes.EventManager (OnFrame)
2012-09-09implementing per-region configuration of limits on the number of prims one ↵SignpostMarv2-0/+29
can have in a linkset Applied with changes - patch was based on a repo different from core Signed-off-by: Melanie <melanie@t-data.com>
2012-09-08refactoring to allow Scene.GetLandData to accept Vector3 as an argument. ↵SignpostMarv1-0/+10
Note that the prior work on LSL_Vector implicit operators means one does not need to explicitly cast a LSL_Vector to Vector3
2012-09-06adding utility method for getting SceneObjectGroup from sceneSignpostMarv1-0/+12
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-09-06adding utility method for getting SceneObjectPart from sceneSignpostMarv1-0/+12
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-09-04formattingSignpostMarv1-6/+6
2012-09-04although the attachmentPoint argument is a uint, zero is not a valid ↵SignpostMarv1-1/+4
attachment point
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)1-2/+34
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-08-25minor: Fix bad log message for failure to create an inventory folderJustin Clark-Casey (justincc)1-1/+1
2012-08-25Log initial script startup info notice when xengine actually starts to do ↵Justin Clark-Casey (justincc)1-1/+1
this for debugging purposes, rather than before it actually starts to do this.
2012-08-24Extend "Restarting scripts in attachments" debug log message to show actual ↵Justin Clark-Casey (justincc)1-1/+3
name of user and the region they are in
2012-08-24If a connecting scene presence is replacing an existing scene presence then ↵Justin Clark-Casey (justincc)1-1/+1
bypass close checks.
2012-08-24Pass the "attachToBackup" bool given to SceneGraph.AddNewSceneObject() down ↵Justin Clark-Casey (justincc)1-1/+1
into the 3-parameter AddNewSceneObject() method instead of always hardcoding true. This doesn't affect any core OpenSimulator code since all callers were passing true anyway But it allows region modules to create objects that are never persisted.
2012-08-24Fix bad child prim permissions that can make objects change perms after rezzingMelanie3-3/+39
Port from Avination
2012-08-20refactoring out SetFaceColorSignpostMarv1-52/+15
2012-08-20making use of implicit operators and Util.Clip handling of Vector3SignpostMarv1-21/+26
2012-08-20single operation for PRIM_COLORSignpostMarv1-0/+49
2012-08-20fix typoSignpostMarv1-1/+1
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2-4/+7
race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
2012-08-17fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv1-1/+2
& box
2012-08-17implementedSignpostMarv1-0/+50
2012-08-17BulletSim: Properly regenerate hulls when objects made physical.Robert Adams1-8/+8
This fixes the problem of non-base shapes (cubes and spheres) falling through the terrain.
2012-08-17Modify order of code so SOP doesn't set the physics actor flyingRobert Adams1-7/+12
property multiple times every time Update is called. This eliminates zillions of settings which is better for BulletSim. The should be no functionality change.
2012-08-15Correct an exception report in SceneObjectPart so it outputs the stack.Robert Adams1-1/+1
2012-08-15enables configurable minimum sizes for physical & non-physical primsSignpostMarv4-20/+93
2012-08-15Add support for the extra params to scene and the event managerMelanie2-0/+62
2012-08-15Add a skeleton for a name value storage associated with regionsMelanie1-0/+4
2012-08-14Lay some groundwork for temp attachments. Decouple attachments from inventory.Melanie1-1/+1
2012-08-03Restore SOG constructor chaining removed in recent 513b77b. This is not a ↵Justin Clark-Casey (justincc)1-1/+1
functional change.
2012-08-03Move previously unadvertised SendPeriodicAppearanceUpdates setting from ↵Justin Clark-Casey (justincc)1-1/+7
[Startup] to [Appearance] config section. Add description and default of false (as before) to OpenSimDefaults.ini If set to true, this config switch will resend avatar appearance information (a small amount of UUID data, not the baked textures themselves) to other avatars in the sim every 60 seconds. For me, this has helped with situations where avatars appear persistently grey - the LL viewer sometimes did not appear to request assets the first time the appearance data was sent. However, this switch will not help with other appearance failure situations (e.g. failure to bake assets). This setting is experimental but will not have any significant impact on the simulator if turned to true.
2012-08-03refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵Justin Clark-Casey (justincc)2-2/+2
FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID.
2012-08-03Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this ↵Justin Clark-Casey (justincc)1-3/+4
is already its default value as it's a struct.
2012-08-03ImprovedTerseObjectUpdate packet does not support shape updates, thus ↵SignpostMarv1-1/+1
scheduling terse updates will not (and does not) update shape information in the viewer
2012-08-02Initialize the Rezzing object to UUID.ZeroMelanie1-3/+4
2012-08-02reduced-complexity implementation of function to get rezzing object keySignpostMarv2-1/+10
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-01Create the ability for physics modules to request assets on demand byMelanie1-0/+16
themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
2012-07-27Avoid a race condition between the scene shutdown thread and the update ↵Justin Clark-Casey (justincc)1-3/+5
thread since commit c150320 (Thu Jul 26 15:27:18 2012) c150320 started explicitly disposing of the physics scene and nulling it out on region shutdown. However, the update loop may not have yet checked Scene.ShuttingDown, particularly if avatars were not in the scene, causing failure when it tried to lookup time dilation. This commit moves the setting of m_shuttingDown above the existing 500ms pause to notify avatars that they are being kicked. This should not affect the few other places that use this flag.
2012-07-26When copying items, copy the item description field instead of the asset ↵Justin Clark-Casey (justincc)1-23/+46
description field. If we copy the asset description then we will only ever replicate the very first description, if there was one, not any subsequent changes. Thanks to Oren Hurvitz of Kitely for this patch from http://opensimulator.org/mantis/view.php?id=6107 I have adapted it slightly to change the order of arguments (name before description rather than vice-versa) and slightly improve some method doc.
2012-07-26Add a Dispose() of the physics engine when a scene is being shutdown.Robert Adams1-0/+9
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)1-0/+1
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2-2/+2
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)4-10/+76
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-23Change attachment handling to remove object from the scene first as perMelanie2-11/+19
justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
2012-07-23Committing Avination's memleak fix-a-thon, installment #3Melanie1-0/+2
When linking, detach the no longer used SOG's from backup so they can be collected. Since their Children collection is never emptied, they prevent their former SOPs from being collected as well.
2012-07-19Stop explicitly closing and nulling out Animator in order to prevent NREs in ↵Justin Clark-Casey (justincc)2-23/+7
various places due to race conditions. Even where checks are being made they aren't enough since they all assume that the Animator they just checked is still there in the next line, which is not necessarily the case without locking. The memory used is small and these should be GC'd anyway when the SP is released. If this is not happening then the wider problem of old SPs being retained needs to be resolved.
2012-07-19Prevent race conditions between two threads that call LLClientView.Close() ↵Justin Clark-Casey (justincc)1-3/+3
simultaneously (e.g. ack timeout and an attempt to reconnect)
2012-07-19Add TestCreateDuplicateRootScenePresence() regression test.Justin Clark-Casey (justincc)3-1/+41
2012-07-19Add basic TestCreateRootScenePresence() regression testJustin Clark-Casey (justincc)1-135/+144
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)4-16/+35
enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.