aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-26Differentiate between requests only the owner should be able to do and thoseMelanie Thielker1-3/+3
that managers can do when setting parcel data
2014-03-25Guard against Scene being null in attachments it the wearing avatar is in ↵Melanie Thielker1-14/+16
the process of logging out.
2013-09-08Mono 2.0 fix - call ToArray() explicitlyMelanie2-4/+6
2013-09-08Harmonize the class name, ID and Name of the default perms moduleMelanie Thielker3-8/+8
2013-08-25Fix the root cause of keyframe motion region crossing offset - UpdateSceneObjectMelanie2-23/+5
was being called twice on each crossing.
2013-08-24* This fixes the border crossing offsets by storing the final keyframe ↵teravus1-2/+22
location in the hijacked variable KeyFrame.AngularVelocity. When steps in OnTimer <= 0.0, normalize the final position by Constants.RegionSize and move the object there. The hack here is KeyFrame.AngularVelocity probably isn't the right name for this variable because it's the un-mucked with keyframe position. When you determine the feasibility of changing the name without affecting the serialization of existing objects in world... It's simply a name change to KeyFrame.FinalPosition or something proper.
2013-08-24Revert "* This increases accuracy when border crossing (the reason is.. ↵teravus1-7/+7
the border crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop." This reverts commit 55400ff7be55b1c8dbededca68e6fce42cd6ce0f.
2013-08-23* This increases accuracy when border crossing (the reason is.. the border ↵teravus1-7/+7
crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop.
2013-06-23Fix prim locking to behave like SLMelanie1-2/+2
2013-06-13* This fixes having to select and deselect prim to get keyframemotion to ↵Melanie1-0/+5
start running when pulled from data storage. Conflicts: OpenSim/Data/SQLite/SQLiteSimulationData.cs
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-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-24Port fix from justicc - decouple pay prices on drag-copied primsMelanie1-0/+1
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-03-31Export permission, part two. Setting export perms for textures and clothing ↵Melanie3-10/+74
works. Setting perms for prims also works but they don't propagate correctly yet. NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
2013-03-31Export permission, part two. Setting export perms for textures and clothing ↵Melanie3-11/+66
works. Setting perms for prims also works but they don't propagate correctly yet. NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
2013-03-29Check viewer 2/3 attachment calls against avatar appearance attachment data ↵Justin Clark-Casey (justincc)1-5/+2
rather than actually attached objects By checking against the grid's Avatar data, we can ignore viewer side attachments but still initiate these calls simulator-side. Initiating simulator-side is always necessary for version 1 viewers. This is a further commit to resolve http://opensimulator.org/mantis/view.php?id=6581
2013-03-29Fix bug where CHANGED_REGION and/or CHANGED_TELEPORT weren't firing for ↵Justin Clark-Casey (justincc)3-1/+30
scripts in attachments. This was because the script resumption in AttachmentsModule was firing the attach event instead. Had to reinstate the code in 285bd3a do we can resume the scripts there instead, though the bug existed before its removal. This is to resolve http://opensimulator.org/mantis/view.php?id=6578
2013-03-29Eliminate code which tries to restart attachment scripts in ↵Justin Clark-Casey (justincc)1-18/+0
ScenePresence.MakeRootAgent(), since this is already done in AttachmentsModule
2013-03-28minor: comment out unused Scene.AgentCrossing() to reduce code complexityJustin Clark-Casey (justincc)1-27/+27
2013-03-28If the viewer has already rezzed any attachments itself, then ignore the ↵Justin Clark-Casey (justincc)1-7/+5
simulator-side rez attachments call. This is a further effort to reduce v3 viewer race conditions where this call may clash with the viewer signalling attachment wearing from its current outfit folder.
2013-03-28Fix regression tests by making a new NPC always trigger simulator side ↵Justin Clark-Casey (justincc)1-2/+2
attachment code when created. Regression from previous commit c2093ccc. Failed because NPCs don't set the ViaLogin flag
2013-03-28Move the simulator-side RezAttachments call on login to SP.MakeRootAgent ↵Justin Clark-Casey (justincc)2-38/+31
with the other attachments code, using TeleportFlags.ViaLogin check to fire if necessary. This is to simplify the code (no tricky 'wasChild' signalling required) and to reduce the risk of a thread clash between simulator-side attaching (necessary for v1 viewers) and the viewer-side attaching the v3 viewers perform.
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie6-3/+9
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-24Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie6-3/+9
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-23Fix teleporting into the non-SW 256x256 corner of a megaregion, though ↵Justin Clark-Casey (justincc)1-0/+7
currently with a 10 second delay before auto-reteleport to the correct location. This now does a check for border crossing (required to trigger the teleport) immediately in SP.MakeRootAgent(). If left any later, it looks like the physics scene changes the position and stops the cross happening. If done any earlier, nothing happens because the cross-code currently requires a PhysicsActor to be in place, thuogh it's probably not necessary for this case.
2013-03-23Add "show borders" command to show the borders of a region.Justin Clark-Casey (justincc)3-6/+16
This is relevant to mega-regions where the borders are very different to a regular region. Also adds some method doc and other code comments.
2013-03-21On a teleport, lock m_agentsInTransit whilst we grab the value to check for ↵Justin Clark-Casey (justincc)1-4/+4
completion just to be sure we're not using a thread cached version.
2013-03-21Fix SceneManager to use the new automatic property throughout.Melanie1-3/+2
2013-03-20minor: disable logging on regression TestCrossOnSameSimulator() that I ↵Justin Clark-Casey (justincc)1-1/+1
accidentally left on a few commits ago.
2013-03-20minor: don't bother with the pause before rezzing attachments if we are ↵Justin Clark-Casey (justincc)1-1/+15
running regression tests (fire and forget calls launched on the same thread). Also adds code comments as to why this pause exists.
2013-03-20On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)2-23/+121
viewer couldn't/didn't connect with destination or if destination didn't signal teleport completion. Also adds regression test for the case where the viewer couldn't connect with the destination region. Also refactoring of regression test support code associated with entity transfer in order to make this test possible and the code less obscure.
2013-03-20Insert a short delay on the simulator side rezzing of attachments in order ↵Justin Clark-Casey (justincc)1-1/+1
to fix viewer 3 issues if its own rezzing actions on login collide with the simulator side actions. This resolves issues (at least in my tests with LL 3.3.4) where this can make attachments invisible until one zooms in on the avatar. This doesn't affect version 1 viewers since this delay is shorter than the login delay. This doesn't increase the login time since this part of the process was already being performed asynchronously. This may be a temporary solution.
2013-03-20Force a viewer object update for attachments at the end of the final ↵Justin Clark-Casey (justincc)1-0/+9
Scene.CompleteMovement() in order to make all multi-attachments appear on the destination region. For some reason, sending updates before this will not have this effect. This may be something related to some viewers (e.g. LL 3.3.4) or something OpenSimulator isn't getting quite right.
2013-03-18Multiattach, part 1Melanie1-1/+1
Conflicts: OpenSim/Framework/AvatarAppearance.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2013-03-16* Ignores VolumeDetect enabled prim in the camera raycast call. Note: The ↵teravus1-11/+36
SceneRaycast call doesn't have a filter option in the interface and physics will use the lower level one for all sorts of goodies so it wouldn't be appropriate to ignore it at the physics layer yet.. though that would be better once the API has filters.
2013-03-14Make llGetObjectDetails() return the correct world rotation for a sitting avatarJustin Clark-Casey (justincc)1-5/+35
This addresses http://opensimulator.org/mantis/view.php?id=6567 This creates a ScenePresence.GetWorldRotation() with the same semantics as SOP.GetWorldRotation() SP.Rotation can't be used since it's relative to the sat upon prim if the avatar is sitting.
2013-03-13Remove unnecessary instation of DOMap() in SOP from commit 5c53660 since ↵Justin Clark-Casey (justincc)1-1/+0
this is being done lazily
2013-03-13Add prototype dynamic objects map for scene object partsJustin Clark-Casey (justincc)1-0/+22
This allows region modules to add dynamic objects to SOPs rather than having to continually push and pull OSD dynamic attributes. This is to explore the original MOAP use case for dynamic attributes where it could be very awkward and possibly time-consuming to keep reconstructing MediaEntrys from stored DynamicAttributes. This commit adds a DOExampleModule to demonstrate/evolve this code. Dynamic objects involve no storage or persistence changes - the 'backing store' for any data that does need to be saved will remain the DAMap. DOExampleModule in this commit only attaches a fresh dynamic object. Actually constructing this from stored dynamic attributes and handling persistence is left for later. These changes should affect no existing functionality, though it may or may not reveal necessary changes in DAMap down the road.
2013-03-11minor: remove mono compiler warning in SceneObjectUndoRedoTestsJustin Clark-Casey (justincc)1-2/+2
2013-03-08* Apparently, sometimes texture entries come in from the wire with no ↵teravus1-0/+17
default texture defined.. so apply better fallback protection against that. The net result is clients will have their selected textures set when they would have previously had an ignored exception.
2013-03-06Add code for testing event queue messages recevied on region cross.Justin Clark-Casey (justincc)1-5/+22
This is currently disabled pending an improvement in the test code to properly add avatars when an event queue module is present.
2013-03-06* Separate two if trees that got merged into one if tree with borked logic.teravus1-2/+25
2013-03-06Add regression test for presence crossing between regions on the same simulator.Justin Clark-Casey (justincc)3-121/+159
Unlike a much earlier commented out version of this test, this is done in synchronous mode.
2013-03-05Multiattach, part 1Melanie1-1/+1
2013-03-03Make Keyframe motion cross regions againMelanie2-2/+4
2013-03-02Move AllowedClients and BannedClients section to new [AccessControl] section ↵Justin Clark-Casey (justincc)1-2/+10
in OpenSim.ini from [Startup] This change also corrects the setting names - they were actually wrong (though the text in {} was correct). If there are settings in [Startup] they will continue to be used and anything there will override settings in [AccessControl]
2013-02-28Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)1-2/+2