aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-28Revert "Mantis 5977 Corrections to llRegionSayTo"Melanie2-24/+4
This reverts commit 679da63da617d031e5e7ae3f2d2a29db1a23ace3. Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
2012-06-28Fix llRegionSayTo the right wayMelanie1-2/+9
2012-06-27refactor: Move ScenePresence <-> AgentData attachments copying code into ↵Justin Clark-Casey (justincc)3-37/+24
AttachmentsModule.
2012-06-25When attachments are being saved and deleted for a closing root agent, ↵Justin Clark-Casey (justincc)3-17/+21
delete first to avoid a hud race condition with update threads. If delete doesn't occur first then the update thread can outrace the IsAttachment = false necessary to save attachments and send hud artifacts to other viewers.
2012-06-25In AttachmentsModule.DetachSingleAttachmentToInvInternal(), remove ↵Justin Clark-Casey (justincc)1-0/+9
attachment before changing properties for correct inventory serialization. Serialization of attachments requires IsAttachment = false so that correct positions are serialized instead of avatar position. However, doing this when a hud is still attached allows race conditions with update threads, resulting in hud artifacts on other viewers. This change sets SOG.IsDeleted before serialization changes take place (IsDeleted itself is not a serialized property). LLClientView then screens out any deleted SOGs before sending updates to viewers.
2012-06-23Fix script "Running" behaviorBlueWall2-0/+16
Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057
2012-06-22Fix bug where attachments would not retain position if just rotated and not ↵Justin Clark-Casey (justincc)1-0/+5
moved. This was because we were not setting AttachedPos in SOG.UpdateGroupPositionPR, unlike UpdateGroupPosition
2012-06-20Use HasPrivateAttachmentPoint properties in SOG.DeleteGroupFromScene() ↵Justin Clark-Casey (justincc)1-2/+3
instead of magic numbers
2012-06-20refactor: use SOG.HasPrivateAttachmentPoint in SOP.SendTerseUpdateToClient() ↵Justin Clark-Casey (justincc)1-2/+3
instead of attachmentpoint magic numbers.
2012-06-20Log how many scripts are candidates for starting and how many are actually ↵Justin Clark-Casey (justincc)4-62/+106
started. Adds DebugLevel infrastructure to XEngine though currently commented out and unused.
2012-06-20If RegionReady is active, don't falsely say that logins are enabled in the ↵Justin Clark-Casey (justincc)1-2/+2
main scene loop before RegionReady is signalled when initial script compilation finishes. Also raises this logging level to Info from Debug since this information is of high importance. This matches the behaviour of the RegionReady module
2012-06-20minor: If logging because mesh/sculpt data isn't present for an object, log ↵Justin Clark-Casey (justincc)1-1/+1
object UUID rather than local id, since UUID doesn't potentially vary between simulator starts.
2012-06-15Revert changes...UbitUmarov1-21/+3
This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
2012-06-15 Add sop IsPhysical and IsPhantom to be used gradually in core in place of ↵UbitUmarov1-3/+21
asking physics engines all the time. Some engines delays may make them give wrong answers.
2012-06-14Add SOG.HasPrivateAttachmentPoint to tell if a SOG has a private attachment ↵Justin Clark-Casey (justincc)2-2/+19
point. HUDs attachment points are private. Change SOP.SendFullUpdateToClient() and SoundModule.PlayAttachedSound() to use this rather than different magic number formulations. This also corrects a bug in PlayAttachedSound() where the code assumed that all attachment points over 30 were HUDs. It appears this is no longer true with Neck and Root (Avatar Center)
2012-06-13 Changed t adding the avatar dependent sit offset and not subtracting, so ↵UbitUmarov1-2/+4
not to break inworld contents. SL ported scripts will show a sit error around 0.1m. Added respective compensation in LSL api to maintain coerence. Fixed several bugs still on SET/GET[link]PrimitiveParams[fast] and llGetObjectDetails()
2012-06-13*TEST this will affect inworld sittargets by +-0.1m, so may be very BAD *. ↵UbitUmarov1-1/+2
Changed the sign of the sitoffset dependent on avatar size in SP.cs. Removed that offset correction from SET/GET..primitiveParams in LSL api. If the sign needs to be the previus one, then all references to avatar positions on LSL api need to be fixed with that correction, not only SET/GETprimitiveParams.
2012-06-12OnConnectionClosed listeners, retrieve data from IClientAPI.SceneAgent ↵Justin Clark-Casey (justincc)1-1/+1
rather than scanning all scene for the presence with the right id Stop checking IsLoggingOut on these listeners, if called with a root agent then we always want to perform these actions. This covers cases where the client is closed due to manual kick, simulator shutdown, etc.
2012-06-12 Moved auxiliar funtions of last commit from sop to lsl api since they are ↵UbitUmarov1-34/+0
only used on one place each
2012-06-12*UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ↵UbitUmarov1-0/+34
code in SOP.cs
2012-06-12In PresenceDetector.OnConnectionClose(), use the IsChildAgent check already ↵Justin Clark-Casey (justincc)1-4/+3
available on IClientAPI.SceneAgent rather than retrieving it again by scanning all scenes.
2012-06-11Comment out the scene presence sitting debug log messages for nowJustin Clark-Casey (justincc)1-6/+6
2012-06-11change object drag so it applies a impulse and not a push force so it works ↵UbitUmarov1-2/+6
as before my fix to impulse/forces
2012-06-08Fix a corner case where checking for region corssing may cross an avatar back ifMelanie1-2/+7
it's pending to be sat onto a vehicle that is in the process of crossing.
2012-06-08Revert "Add a frame based watchdog function to keyframed motion"Melanie1-20/+0
This reverts commit 2d98d6354ce04b655e8d9062a209f5af1565c78c.
2012-06-08Add a frame based watchdog function to keyframed motionMelanie1-0/+20
2012-06-08Don't make duplicate call to ScenePresence.Close() separately in ↵Justin Clark-Casey (justincc)3-81/+74
ETM.DoTeleport() if an agent needs closing. This is always done as part of Scene.RemoveClient() Also refactors try/catching in Scene.RemoveClient() to log NREs instead of silently discarding, since these are useful symptoms of problems.
2012-06-08Go back to calling IncomingCloseAgent() in the "kick user" command for ↵Justin Clark-Casey (justincc)1-6/+0
consistency instead of IClientAPI.Close() directly. This no longer double counts child agent removals
2012-06-08Remove duplicate update of user count in Scene.IncomingCloseAgent()Justin Clark-Casey (justincc)3-14/+27
This is already done in Scene.RemoveClient() which IncomingCloseAgent() always ends up calling.
2012-06-08Fix bug with "kick user" reducing agent counts by 2 instead of 1.Justin Clark-Casey (justincc)2-20/+22
This is done by making the kick user command call IClientAPI.Close() rather than routing through Scene.IncomingCloseAgent(), which also called IClientAPI.Close() DisableSimulator for child agents is moved from IncomingCloseAgent() to RemoveClient(), this is not a functional change since IncomingCloseAgent() always ends up calling RemoveClient()
2012-06-07Record the fact that child agents can have asset transactions.Justin Clark-Casey (justincc)2-23/+18
Also change code to grab the agent asset transaction module once.
2012-06-07Don't send kill object messages to clients when a child agent is closed.Justin Clark-Casey (justincc)1-18/+21
2012-06-08Cut off collision sounds with avatar at 3.2. This makes most walkig collisionsMelanie1-1/+1
with walls and stairs silent. Falls from greater height and running into things will still be heard. a CollisionSound defined for the object will override this so one can still script a soccer ball with sounds.
2012-06-07Further limit the amount of avatar collisions that will actually triggerMelanie1-2/+4
sounds. They are distracting.
2012-06-07Add the ability to query the MYSQL databse for a list of the stored prim UUIDsMelanie2-0/+3
2012-06-07Implement playing of the real collision sounds, change scaling for avatarMelanie1-133/+57
collisions to make them really soft because otherwise climbing stairs makes an unbearable amount of noise.
2012-06-07Make not_at_target stop when the target is reached even if the scriptMelanie1-1/+2
is not listening to at_target
2012-06-07Disable default collision sounds until they can be uploaded, but enable ↵Melanie1-55/+56
custom ones
2012-06-07Make the "delay restart" button delay restart for 1 hour rather than abortingMelanie1-0/+1
it altogether. Allow a maximum of three uses before the restart goes through.
2012-06-06Remove two causes of recursive locking. Merge artefact cleanup.Melanie1-7/+5
2012-06-05fix the real cause of double velocityUbitUmarov1-1/+0
2012-06-05Fix land collisions to work like SL.Melanie1-6/+16
2012-06-05Scale down per frame MS stats to match scaled simulator FPS stat.Justin Clark-Casey (justincc)1-1/+1
This makes frame time stats properly tally with fps, which saves confusion and makes it easier to interpret numbers. In some ways this is not so artifical - physics FPS runs at the higher rate.
2012-06-05Start sending spare frame time MS viewer stat. Make frame time correctly ↵Justin Clark-Casey (justincc)2-78/+124
display total frame time, not just non-spare time. This makes it easier to see when components of frame time exceed normal permitted frame time. Currently reflect scene frame times.
2012-06-04Properly show per frame millisecond statistics per frame, not as amount of ↵Justin Clark-Casey (justincc)1-22/+41
time taken per second. This is to make these statistics actually match their names (and also be more accurate as number of frames can vary under heavy load) Currently using scene frames (11.23 every second) instead of physics frames (56.18 per second)
2012-06-04Actually trigger land collisions in the root even when a child collidesMelanie1-1/+1
2012-06-04Fix llAttachToAvatar and "Attach" viewer option to preserve saved attach ↵Melanie2-2/+2
positions.
2012-06-04Correct the delegate specification in EventManager.TriggerTerrainTainted. ↵Robert Adams1-1/+1
Looks like the wrong one was cut and pasted.
2012-06-01Fix LSL animation state reporting and animation state transitions on crossingMelanie1-1/+1
2012-06-01Instead of updating sim stats root agent, child, objects and scripts ↵Justin Clark-Casey (justincc)2-33/+14
accounts every single scene frame, update in the once every 3 seconds SimStatsReporter run