aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
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)3-3/+3
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-03Fixed a rare bug that caused Save OAR to fail because it thought it had ↵Oren Hurvitz1-5/+11
timed-out The bug manifested as follows: a large world was saved. All the assets were found. But for some unknown reason, the timeout timer was restarted. So after 1 minute it closed the Archive Writer, because it didn't receive any more assets during that minute. That caused the OAR to become corrupted because ArchiveWriteRequestExecution.Save() was still running.
2012-08-03Save membership fee to the database when a group is created.Kevin Cozens1-25/+25
2012-08-02BulletSim: Debugging log statements added. Reduced size of updata buffer ↵Robert Adams2-6/+27
trying to find a corrupted memory problem. Update DLL and SO.
2012-08-03Delete old blank SOGSpamTestJustin Clark-Casey (justincc)1-37/+0
2012-08-03Properly dispose of all GDI+ entities used in VectorRenderModule for dynamic ↵Justin Clark-Casey (justincc)1-253/+316
textures. The convention is that if an object implements IDiposable() the code must explicitly call Dispose() or call it via the using statement. This may be particularly important for GDI+ objects since they encapsulate native code entities.
2012-08-02Initialize the Rezzing object to UUID.ZeroMelanie1-3/+4
2012-08-02Add simple draw test for the VectorRenderModuleJustin Clark-Casey (justincc)1-0/+75
2012-08-02reduced-complexity implementation of function to get rezzing object keySignpostMarv5-1/+29
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-01Create the ability for physics modules to request assets on demand byMelanie3-0/+22
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-08-01Look up the NPC module when the SensorRepeat class is created, rather than ↵Justin Clark-Casey (justincc)1-5/+6
on every single sensor sweep.
2012-07-31BulletSim: fix problem where resizing a primary shape (cube or sphere) would ↵Robert Adams2-5/+3
not rebuild the physics mesh. Update the DLLs and SOs to latest version.
2012-07-31BulletSim: change boolean parameters in the shape data from int's to float's ↵Robert Adams2-7/+11
to be consistant with parameter data structure
2012-07-31Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵Justin Clark-Casey (justincc)1-35/+43
SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep. A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal. Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status. This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
2012-07-31Fix bug in SoundModule.TriggerSound() where every sound update to an avatar ↵Justin Clark-Casey (justincc)1-3/+6
would base its gain calculation on the previous avatar's gain, instead of the original input gain. This was making sound attenuate oddly when there were NPCs in the region, though it could also happen with ordinary avatars.
2012-07-31Adds support to ScriptModuleComms for region modules to exportMic Bowman3-2/+74
constants to the script engine.
2012-07-31BulletSim: add parameters and API calls for setting ERP and CFM.Robert Adams6-29/+164
Set ERP and CFM in linkset constraints. Reorder rebuilding of object bodies so they are not rebuilt everytime something is linked and unlinked.
2012-07-29Return world rotation on llGetObjectDetails()'s OBJECT_ROTMelanie1-1/+11
2012-07-28LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv3-0/+54
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-27Remove the LandGeom checks in OdeScene - these are pointless since LandGeom ↵Justin Clark-Casey (justincc)1-4/+2
is always IntPtr.Zero and contacts returned always have a valid geometry. Possibly this was for a feature that was never implemented or was otherwise removed. Thanks to SignpostMarv for the spot of the warning that shows this parameter was never changed.
2012-07-27Remove duplicated IScenePresence.PresenceType. This is already in ↵Justin Clark-Casey (justincc)1-2/+0
ISceneAgent.PresenceType from which IScenePresence inherits. No other code changes required.
2012-07-27Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)1-2/+0
2012-07-27Fix issue where RegionCombinerModule was not removing regions from its ↵Justin Clark-Casey (justincc)1-0/+2
dictionary on RemoveRegion(), causing a later issue if regions were restarted (removed then readded).
2012-07-26BulletSim: fix a recursive loop when fetching the mass of the root of a linkset.Robert Adams2-4/+4
2012-07-26BulletSim: refactor all the linkset logic out of the prim classRobert Adams4-235/+409
and into its own class. The BulletSim data structures track individual prims as linksets of 1 so most of the prim code is not different between a linked and unlinked object.
2012-07-26Add check so Ode does not try to simulate after it has been Dispose()'ed. ↵Robert Adams1-0/+9
Fixes exception that happens when shutting down region (improvements from last patch)
2012-07-26When copying items, copy the item description field instead of the asset ↵Justin Clark-Casey (justincc)2-25/+49
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-25BulletSim: remove unused, commented out code in BSConstraintRobert Adams1-8/+0
2012-07-25BulletSim: fix line endings in newly added files (Is it DOS or is it UNIX? ↵Robert Adams2-301/+301
Only it's hairdresser knows for sure)
2012-07-25BulletSim: add parameters for setting linkset constraint factorsRobert Adams2-17/+32
2012-07-25BulletSim: small change to use the pointer to the bullet object for zeroing ↵Robert Adams1-6/+5
forces.
2012-07-25BulletSim: Redo parameter specification so only one place hasRobert Adams1-248/+378
to change to have a parameter show up in the ini file and command line. Will make it much easier for the next person.
2012-07-25BulletSim: Add C# classes for storing and tracking constraints.Robert Adams2-0/+301
2012-07-25BulletSim: Move constraint tracking from C++ code to C# codeRobert Adams2-18/+83
for more flexibility.
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)7-0/+7
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)18-18/+18
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)3-55/+57
region console "show stats" command This aims to capture the amount of memory that OpenSim turns over whilst operating a region. This memory is not lost - apart from leaks it is reclaimed by the garbage collector. However, the more memory that gets turned over the more work the GC has to do to reclaim it.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)7-18/+79
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-24Rename "image queues clear" console command to "clear image queues"Justin Clark-Casey (justincc)1-12/+6
There is less justification for this word arrangement (verb after noun) now that command help is categorized. Also removes "image queues show" in favour of existing alias "show image queues".
2012-07-24Add information about each column to "show queues" region console command help.Justin Clark-Casey (justincc)1-2/+9
2012-07-24Extend region console "show queues" command to show already collected time ↵Justin Clark-Casey (justincc)2-19/+26
since last packeted received by the simulator from a viewer.
2012-07-24Remove bad using statement in AttachmentsModuleTests.Justin Clark-Casey (justincc)1-2/+1
It seems that the mono 2.10.8.1 doesn't choke on this but for some reason 2.4.3 fails.
2012-07-24extend regression TestRezScriptedAttachmentFromInventory() to check actual ↵Justin Clark-Casey (justincc)1-3/+19
start of script rather than just the script status reported by SOG.ContainsScripts()
2012-07-24extend regression TestDetachScriptedAttachementToInventory() to check ↵Justin Clark-Casey (justincc)1-3/+25
correct running status on a re-rezzed attachment
2012-07-23BulletSim: change how prim mass is saved so it is always calculated but zero ↵Robert Adams1-20/+23
is given if not physical.