aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-19Remove recent IRegionCombinerModule.IsMegaregion(). In theory, there can be ↵Justin Clark-Casey (justincc)3-20/+5
more than one megaregion in a simulator, separated by water. Rename IsRootRegion() to IsRootForMegaregion()
2012-05-19Add some method doc to RegionCombinerModule. Clean up log messages.Justin Clark-Casey (justincc)1-10/+29
2012-05-19Add is_megaregion flag into oar control file. Not currently read - for ↵Justin Clark-Casey (justincc)4-43/+145
future use. Please do not rely on this remaining here. An adaptation of part of Garmin's patch from http://opensimulator.org/mantis/view.php?id=5975, thanks! Flag only written if the SW corner OAR is saved - this is the only one that captures object data presently (though not land or terrain data). This adds an IRegionCombinerModule interface and the necessary methods on RegionCombinerModule
2012-05-18Further refinement on propertiesBlueWall1-7/+4
2012-05-18Cleanup + change properties to set fields with private set : Thanks Justin ↵BlueWall2-3/+4
for the tip.
2012-05-18Fix issue where a new outfit folder is not created when a new outfit is ↵Justin Clark-Casey (justincc)1-3/+9
saved if there are no previous outfits This was because AddFolder() was disallowing these though they are legal.
2012-05-18Provide Telehub setting to allow use of landmarksBlueWall2-1/+9
Setting to allow use of landmarks to override telehub routing. Default is off.
2012-05-18Fix build break. Comment out EQG deregister/register logging.Justin Clark-Casey (justincc)1-10/+10
2012-05-18Add level 2 debug eq logging which logs event queue polls.Justin Clark-Casey (justincc)1-23/+32
Refactor: eq message logging into common method.
2012-05-18Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte ↵Justin Clark-Casey (justincc)1-0/+3
logging
2012-05-18refactor: move EventQueueGet path generation into common method. Rename ↵Justin Clark-Casey (justincc)2-21/+34
some local variables in line with code conventions. Add commented out EQG log lines for future use.
2012-05-17Don't eagerly clear frame collision events when physics actors subscribe and ↵Justin Clark-Casey (justincc)1-2/+8
unsubscribe from collisions, in order to avoid a race condition. Since this is done directly from ScenePresence, it can lead to a race condition with the simulator loop. There's no real point doing it anyway since the clear will be done very shortly afterwards by the simulate loop and either there are no events (for a new avatar) or events don't matter (for a departing avatar). This matches existing behaviour in OdePrim
2012-05-17Check agent limit against root agent count rather than both root and child ↵Justin Clark-Casey (justincc)3-22/+43
agents From sl docs such as http://community.secondlife.com/t5/English-Knowledge-Base/Managing-Private-Regions/ta-p/700115 agent should apply to avatars only. This makes sense from a user perspective, and also from a code perspective since child agents with no physics or actions take up a fraction of root agent resources. As such, the check is now only performed in Scene.QueryAccess() - cross and teleport check this before allowing an agent to translocate. This also removes an off-by-one error that could occur in certain circumstances on teleport when a new child agent was double counted when a pre-teleport agent update was performed. This does not affect an existing bug where limits or other QueryAccess() checks are not applied to avatars logging directly into a region.
2012-05-17udp transfer: make number packets estimation coerent with number actually ↵UbitUmarov1-2/+8
sent. Use the safer lower max packet size defined in os source (600) and not OMV one (1100).
2012-05-17 trigger collision sounds on active agent position for better spatial effect ↵UbitUmarov2-23/+22
without using the detailed collision position. (current error will be half max physical prim size). Moved some checks from sop to collisionSound code
2012-05-17Force the default Telehub router if no matches are found in the config.BlueWall1-29/+28
2012-05-17increase avatars collisions report to 10 per sec, Stopped sound on avatar to ↵UbitUmarov2-2/+2
volumedetect collision
2012-05-17 add avatar colision sounds. Changed test sound UUIDUbitUmarov2-62/+120
2012-05-17minor: improve method doc for ↵Justin Clark-Casey (justincc)1-1/+1
TestSameSimulatorSeparatedRegionsCreateAgentFails()
2012-05-17Add regression TestSameSimulatorSeparatedRegionsCreateAgentFails()Justin Clark-Casey (justincc)1-0/+67
2012-05-17default colisionVolume is 0, use it only for user specified soundUbitUmarov1-3/+6
2012-05-17Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails() regression ↵Justin Clark-Casey (justincc)2-2/+8
test logging accidentally left in
2012-05-17minor: Remove redundant EstateOwner != UUID.Zero check in IsAdministrator ↵Justin Clark-Casey (justincc)1-8/+6
because checking EstateOwner == user Due to an earlier check we already know that user != UUID.Zero so if EstateOwner == UUID.Zero, EstateOwner == user can never be true
2012-05-17Add regression TestSameSimulatorSeparatedRegionsQueryAccessFails()Justin Clark-Casey (justincc)2-1/+77
2012-05-17default collision sounds. Incomplete, untested, needs revisionUbitUmarov2-1/+205
2012-05-17Remove redundant "Teleport failed:" from reason when QueryAccess fails for ↵Justin Clark-Casey (justincc)1-4/+12
the destination simulator. This part of the string is already provided by the viewer. Also adds more reason logging for diagnostics when teleports are refused/fail.
2012-05-16collision sounds: simplify send code a bit and limit sending rate to 5 per ↵UbitUmarov1-1/+36
sec per part ???
2012-05-16 Added a invalidCollisionSoundUUID so that scripts can stop all collision ↵UbitUmarov3-6/+23
sounds with llCollisionSound("",...). UUID.Zero means defaults should be used. In case part has several scripts with confliting llCollisionSound result depende on exec order. Specially on reset the efect of "" depends on reset order, it should override the others. This is intermediate improve(?) since collisions sounds seem to need a deaper revision.
2012-05-16Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)3-115/+5
SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
2012-05-15Fix issue where loading OARs could sometimes result in link numbers being ↵Justin Clark-Casey (justincc)4-6/+72
reordered. This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
2012-05-15Allow use of regular expressions in "show object name", "show part name" and ↵Justin Clark-Casey (justincc)1-101/+208
"delete object name" console commands if --regex switch is used. Deleteing objects by name, creator uuid or owner uuid now requires confirmation to avoid accidental deletion.
2012-05-15 use part VolumeDetectActive and not rootPart.VolumeDetectActive to be ↵UbitUmarov1-2/+5
coerent with other places in case of future changes. Should be equivalent if all is well.
2012-05-15sop colisions don't play sounds on volume detectorsUbitUmarov1-1/+1
2012-05-15sop: - added UpdatePhysicsSubscribedEvents() to update physics ator ↵UbitUmarov1-48/+118
collision events subcription where needed. Made it consider also VolumeDtc and phantom cases. - added extra calls to it on physics ator proprieties changes. - Fixed land collisions reports. - Handle the case of physics sending a last zero colisions reports to trigger collision_end. - Made the physics collisions report rate be 20 per second. (needs review/testing)
2012-05-15ubitODE: if stopped having collisions do report zero colisions once, so ↵UbitUmarov2-9/+43
collision_end event can be triggered. Changed reports rate to the requested rate and not full ode rate.
2012-05-15ubitODE: fix not reporting land collisions on same cases.UbitUmarov1-2/+25
2012-05-14Add another null check to Melanie's last commit. Seems to eliminate sqlite ↵dahlia1-1/+1
errors in log but no idea if it's working properly
2012-05-15Guard against null root part on SQLite. This really needs to be fixed so SQLiteMelanie1-1/+1
loads roots before children like MySQL does.
2012-05-15Try to fix sqlite breakageMelanie1-0/+3
2012-05-15Port the mel/dahlia fixMelanie2-1/+11
2012-05-15don't send colision events to volume detectorsUbitUmarov1-1/+2
2012-05-15Port Avination's collision fixes to core.Melanie5-523/+199
2012-05-14make llGetCameraPos and llGetCameraRot apply to avatar that granted ↵UbitUmarov1-4/+14
permission and not owner
2012-05-15Fix an omissionMelanie1-1/+1
2012-05-14Completely revamp collision handling. Now works as it is supposed to.Melanie5-523/+189
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz6-5/+100
2012-05-14minor: add explanative comment to 'missing baked texture' logging commonly ↵Justin Clark-Casey (justincc)1-0/+10
seen on inter-simulator teleports where avatar baked textures are not available from the asset service.
2012-05-14minor: comment out individual attachment transfer log messages for nowJustin Clark-Casey (justincc)1-4/+4
2012-05-14Set the agent in transit teleport flag at the first available opportunity ↵Justin Clark-Casey (justincc)1-11/+37
(i.e. when IsInTransit() was being checked) to close down a race condition. On EntityTransferModule.DoTeleport() there was an IsInTransit() check to prevent multiple simultaneous teleport attempts. However, the SetInTransit() was only performed later on, which left a window in which multiple threads could pass the IsInTransit() check. This has been seen in the field and the results aren't pretty. This commit effectively combines the IsInTransit() and SetInTransit() checks so there is no such window. More failure cases are made to to call ResetInTransit() to adjust to this move.
2012-05-14Add more region information to some teleport related loggingJustin Clark-Casey (justincc)1-7/+8