aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-07Fix regression where multiple close agents could be sent to the wrong ↵Justin Clark-Casey (justincc)1-1/+6
neighbour region on root agent close. This was introduced in git master d214e2d0 (Thu May 16 17:12:02 2013) Caught out by the fact that value types used in iterators act like references and this was dispatched asynchronously. Should address http://opensimulator.org/mantis/view.php?id=6658
2013-06-06Fix keyframe motion copyrightMelanie1-3/+26
2013-06-06Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie5-0/+64
may yield unexpected results in some cases. No database persistence yet,
2013-06-06Committing Avination's Keyframe module. This is not hooked up yet and will ↵Melanie1-0/+766
do nothing. More commits to follow.
2013-06-05Avoid a deadlock where a script can attempt to take a ↵Justin Clark-Casey (justincc)1-11/+21
ScriptInstance.m_Scripts lock then a lock on SP.m_attachments whilst SP.MakeRootAgent() attempts to take in the opposite order. This is because scripts (at least on XEngine) start unsuspended - deceptively the ResumeScripts() calls in various places in the code are actually completely redundant (and useless). The solution chosen here is to use a copy of the SP attachments and not have the list locked whilst creating the scripts when an avatar enters the region. This looks to address http://opensimulator.org/mantis/view.php?id=6557
2013-06-02Unsit seated avatars when an object is deletedMelanie1-0/+8
2013-05-31Stop sending velocity to avoid snap-backMelanie1-1/+1
2013-05-30Trigger OnScenePresenceUpdated when the avatar's animations change.Robert Adams2-4/+21
2013-05-30Add methods to Animation and AnimationSet for easier manipulation andRobert Adams2-0/+136
display of groups of animations (Equal(), ToString(), FromOSDArray(), ...). No functional change to animations.
2013-05-30Add region heartbeat start event to complement heartbeat end event.Robert Adams2-0/+25
This allows object modification before the usual heartbeat operation.
2013-05-30If on a sit request we sit the avatar on a different prim in a linkset for ↵Justin Clark-Casey (justincc)1-3/+3
some reason (e.g. because it has a sit target), then send the actual sit prim UUID to the viewer rather than the requested one. This purports to fix the issue described in http://opensimulator.org/mantis/view.php?id=6653 where the camera can end up following the requested sit prim rather than the actual. The original spot was by Vegaslon, this commit just goes about it in a slightly different way This commit also makes m_requestedSitTargetUUID to be the actual UUID, which is consistent with m_requestedSitTargetID which was already doing this. However, this adjustment has no practical effect since we only currently need to know that there's any requested sit UUID at all, not which one it is.
2013-05-29Try caching the user name for a new agent earlier on in the process of ↵Justin Clark-Casey (justincc)1-3/+9
establishing a connection, to see if this helps with "Unknown UserUMMTGUN" issues. The UMMTGUN form of Unknown User seems to appear because a viewer sometimes sends a UUIDNameRequest UDP request that fails to find a binding. However, in theory the incoming agent should have made that binding before any such request is triggered. So moving this binding to an earlier point in the process to see if this makes a difference. Unknown user name is also updated to UserUMMTGUN2 - if you see the old name then you need to clear your viewer cache. This relates to http://opensimulator.org/mantis/view.php?id=6625
2013-05-26Allow Linden trees to preserve their type when taken into inventory and ↵Melanie1-0/+5
rezzed again. Allow Linden trees to be sensed by LLSensor as PASSIVE objects.
2013-05-24One more appearance change: drop sending the SendAppearance packetMic Bowman1-1/+3
to avatar when it becomes root. This packet shows up in the viewer logs as an error and appears to cause problems for completing the texture rebake process for v1 viewers in some cases.
2013-05-24minor: Remove unnecessary duplication of AbsolutePosition Vector3 in SOG.Copy()Justin Clark-Casey (justincc)1-1/+0
As a struct, Vector3 has already been cloned by MemberwiseClone()
2013-05-24Fix issue where llSetPayPrice on either one of a clone prim in the same ↵Justin Clark-Casey (justincc)1-0/+2
OpenSimulator session would change the prices on both prims. This is because the PayPrice array refernence was being memberwise cloned and not the array itself. Addresses http://opensimulator.org/mantis/view.php?id=6639
2013-05-23Fix bug where a cloned object would report the wrong llGetNumberOfPrims() ↵Justin Clark-Casey (justincc)1-0/+1
when avatars had been sitting on the original and a different avatar sat on the copy within the same opensim session. This was because the sitting avatars list was being cloned rather than reset. Addresses http://opensimulator.org/mantis/view.php?id=6649
2013-05-24Port fix from justicc - decouple pay prices on drag-copied primsMelanie1-0/+1
2013-05-22Implement llSetSoundQueueing().Justin Clark-Casey (justincc)2-2/+16
This is controlled by the viewer, not the server. So as per http://wiki.secondlife.com/wiki/LlSetSoundQueueing, only two sounds can be queued per prim. You probably need to use llPreloadSound() for best results
2013-05-20Add commentDiva Canto1-0/+2
2013-05-16On closing child agents, send separate asynchronous requests to each ↵Justin Clark-Casey (justincc)3-9/+5
neighbour rather than sending all closes concurrently on a separate thread. This is to reduce race conditions where neighbours may be responding erratically, thus mixing up create and close agent requests in time. This mirrors OpenSimulator behaviour on enabling child agents where each region is contacted separately.
2013-05-16On logout, send close child agent requests to neighbours asynchronously, so ↵Justin Clark-Casey (justincc)1-6/+3
user is not prevented from relogging if many neighbours are present but not responsive. The symptom here is that previous user connections are still present but are labelled active == false
2013-05-14Eliminate race condition where SimStatsReporter starts reportingRobert Adams1-0/+3
stats before the region is completely initialized.
2013-05-14Comment out some debugging item permission messages since these are highly ↵Justin Clark-Casey (justincc)1-3/+3
noisy on the console. Please re-enable when required
2013-05-14Second take at HGTP-mesh bug: delay sending the initial data only for agents ↵Diva Canto1-0/+1
that are coming via TP (root agents)
2013-05-14Revert "HGTP-mesh bug: the mesh download requests were going to the ↵Diva Canto1-3/+0
departing sims for a little while. This was also true for local TPs. BUt for local TPs the assets are on the same server, so it doesn't matter. For HGTPs, it matters. This potential fix moves sending the initial data to later, after the client has completed the movement into the region. Fingers crossed that it doesn't mess other things up!" This reverts commit f32a21d96707f87ecbdaf42c0059f8494a119d31.
2013-05-14HGTP-mesh bug: the mesh download requests were going to the departing sims ↵Diva Canto1-0/+3
for a little while. This was also true for local TPs. BUt for local TPs the assets are on the same server, so it doesn't matter. For HGTPs, it matters. This potential fix moves sending the initial data to later, after the client has completed the movement into the region. Fingers crossed that it doesn't mess other things up!
2013-05-13Small adjustments to the floater moduleMelanie1-1/+1
2013-05-11Finalize the logic for SetHome. See comments in Land/LandManagementModule.cs ↵Diva Canto1-19/+0
about who has permission to set home where.
2013-05-11Guard against trying to access terrain heights out of bounds. Clamp to sim.Melanie1-1/+9
2013-05-11Refactor to get closer to coreMelanie1-1/+1
2013-05-11Send up the part missing from the Avination Estate commit.Melanie1-2/+0
Warning - contains a small migration.
2013-05-09Don't send BulkUpdateInventory at the end up of UpdateInventoryItemAsset().Justin Clark-Casey (justincc)1-1/+4
This is causing editing of worn clothes to fail frequently, possibly due to a race condition with a transaction. This looks to address http://opensimulator.org/mantis/view.php?id=6600
2013-05-09Only send one kill object to the deleter when they derez an object rather ↵Justin Clark-Casey (justincc)2-17/+12
than two. Extend regression test to check this.
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)2-3/+4
2013-05-09Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)4-19/+91
looking in from neighbouring sims. This was because this particular code path (unlike user delete) only sent kills to root presences, for no apparent good reason. Added regression test for this case. This fixes http://opensimulator.org/mantis/view.php?id=6627
2013-05-09minor: Simplify test setup in SceneObjectDeRezTests since permissions module ↵Justin Clark-Casey (justincc)1-10/+4
doesn't need different configuration anymore
2013-05-07Step 2: commit the IEstateModuleInterface changes neededMelanie1-1/+2
2013-05-07Step one of estate settings sharing - port the Avination Estate module ↵Melanie2-3/+4
(complete module) as changes are too extensive to apply manually
2013-05-06Minor reordering of operations on NewUserConnection. The agent circuit needs ↵Diva Canto1-5/+17
to be added earlier for some of the checks to work correctly.
2013-05-04Add RegionManager level and the ability to use literal XML to the dynamic ↵Melanie2-0/+2
floater module
2013-05-03On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)2-2/+18
starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
2013-04-29Some more pieces of Avination's ban system - if an avatar isn't allowed on anyMelanie1-7/+88
parcel in the sim, keep them out entirely.
2013-04-27Controller module for dynamic floaters (WIP)Melanie1-0/+51
2013-04-24UUIDGatherer now includes UUIDs which reference texture assets used as materialsdahlia1-0/+66
2013-04-25Adding the dynamic menu module which allows registering new menu options in ↵Melanie1-0/+57
compliant viewers
2013-04-25Adding the dynamic menu module which allows registering new menu options in ↵Melanie1-0/+57
compliant viewers
2013-04-25Add Avination's support for parcel eject and freezeMelanie1-15/+25
2013-04-19Materials-capable viewers send ImageUpdate packets when updating materials ↵dahlia1-11/+35
that are normally sent via RenderMaterials CAP. This can cause a race condition for updating TextureEntry fields. Therefore filter any TextureEntry updates so they only update if something actually changed.
2013-04-17Allow changes to TextureEntry to propagate to viewers when MaterialID changesdahlia1-0/+2