aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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-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
2013-02-27Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)1-16/+11
2013-02-25Move map related settings from [Startup] to a new [Map] section in OpenSim.iniJustin Clark-Casey (justincc)1-2/+9
Existing map settings in [Startup] will continue to work, and if present will override anything in [Map] However, the proper place for such settings would now be [Map] This is to reduce the use of [Startup] as a bag for non-generic settings which should really go in sections, in common with other settings. This commit also extends Diva's previous work to allow a default setting to be given when looking at multiple sections for settings.
2013-02-22minor: Add doc to ScenePresence.IsInTransit to make it clear that this is ↵Justin Clark-Casey (justincc)1-0/+6
set only for region crossing and not teleport, etc.
2013-02-16* Fix walking to <NaN, NaN, NaN> via autopilot.teravus1-1/+5
2013-02-16Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)3-5/+5
2013-02-14Add EventManager events triggered when a SOP is added or removedRobert Adams2-0/+57
from the physical scene. Invocations added in SceneObjectPart.
2013-02-10Fix code to check for no spawn points. Possibly a merge artefact?Melanie1-2/+4
2013-02-10Fix teleport/telehub issue:BlueWall2-3/+17
Fix bug that allowed only login access to regions with mis-configured telehubs. Administrators now have teleport access when there exists a mis-configured telehub in the region. Estate owners are now placed at region center in the absence of spawnpoints instead of being denied access. Grid Gods are unrestricted. All others are denied access to the region until spawnpoints are assigned to the telehub object.
2013-02-08If a component of a coalesced object fails to deserialization, do not add a ↵Justin Clark-Casey (justincc)1-4/+18
null where the object should be. This prevents a later load IAR failure. This code is currently only used by IAR loading.
2013-02-07Actually plumb the new values to physics.Melanie1-0/+20
2013-02-07Add some more code from Avination. This changes physics actor stuff aroundMelanie1-37/+152
to work with the new params. Not actually plumbed just yet.
2013-02-07Plumb the path from the client to the extra physics params and backMelanie2-2/+24
2013-02-07Revert "Add plumbing for physics properties to get to the physics engine."Melanie1-50/+6
This reverts commit c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.
2013-02-07Add plumbing for physics properties to get to the physics engine.Robert Adams1-6/+50
Addition of entries to PhysicsActor and setting code in SceneObjectPart.
2013-02-07Rename "Bounciness" to "Restitution"Melanie2-6/+6
2013-02-06Partial port of Avination's support for the new physics parameters.Melanie2-3/+136
Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
2013-02-06Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)1-5/+0
2013-02-06Remove very long unused IScriptHost and NullScriptHostJustin Clark-Casey (justincc)3-138/+1
2013-02-06Remove unused ScriptEngineLoader and ScriptEngineInterface in ↵Justin Clark-Casey (justincc)3-168/+0
OpenSim.Region.Framework.dll I believe this predates the generic system of registering interfaces and is very long unused.
2013-02-06Remove wrong code in ScriptUtils.GetAssetIdFromKeyOrItemName which would ↵Justin Clark-Casey (justincc)1-15/+0
return the item ID instead of the asset ID if the identifier was a uuid that matched an inventory item name. This would practically never happen. This makes this overloaded version of the function consistent with the other version. It looks like this accidentally came over in commit c5af16a from Tue Oct 16 12:40:21 2012 However, there's arguably a case for looking for an item name that matches a UUID before assuming that the identifier is already an asset ID.
2013-02-06refactor: Move functions that lookup asset ids from task inventory or pass ↵Justin Clark-Casey (justincc)1-0/+122
them through to ScriptUtils class in OpenSim.Region.Framework.dll Renames functions to better reflect what they do. This is so that code registering with modInvoke() can reuse this code to provide functions that behave in a consistent manner with existing LSL/OSSL functions.
2013-02-02minor: change comment about assuming script references are textures in ↵Justin Clark-Casey (justincc)1-1/+2
UuidGatherer since this is no longer the behaviour.
2013-02-02Log missing assets on "fcache assets" found. This ignores references found ↵Justin Clark-Casey (justincc)1-2/+5
by scanning LSL/notecard files since these are the source of false positives. This also changes UuidGatherer to reutn an AssetType.Unknown for embedded script/lsl references instead of Texture, since these are often not textures. This is added to help people in determining when they have missing assets such as textures, etc. In this case, one wants to run "fcache clear" first.
2013-02-01Sit and Spin reduction. If sitting, slam avatar angular velocity to zero.teravus1-2/+3
2013-01-31Whitespace fix and removing unneccessary parenthesesMelanie1-1/+1
2013-01-30Allow use of MaptileStaticUUID in Regions.ini to override the global setting ↵Jak Daniels1-1/+6
in OpenSim.ini for each region. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2013-01-30* This adds a bit more to the previous flying roll effect by adding ↵teravus1-10/+50
additional roll when pressing page down, and reducing your roll when pressing page up to make it feel more responsive and give the user more visual feedback.
2013-01-30* Adds a satisfying angular roll when an avatar is flying and turning. ↵teravus1-0/+81
(General, not physics). Makes flying not feel as stiff.
2013-01-27Prevent items being destroyed by rename operations. Renaming of a wearable alsoMelanie1-5/+6
sends an asset transaciton but it is empty. So we can't ignore name data when a transaction is present and can't treat every transaction as valid. Conflicts: OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
2013-01-26Add OnScriptMovingStartEvent and OnScriptMovingEndEvent to EventManager so ↵Justin Clark-Casey (justincc)1-0/+56
that these can be triggered by future code (not yet implemented). Also hooks up moving_start and moving_end script events, eliminating itemID on XEngine EventManager methods since this is completely unused. An adaptation of the patch in http://opensimulator.org/mantis/view.php?id=6515 Thanks Garmin Kawaguichi and Signpost Marv.
2013-01-25Added DynAttrs to the serialized XML format of prims. When copying prims, ↵Oren Hurvitz2-0/+16
use deep copy for DynAttrs.
2013-01-25Encapsulate an OSDMap in DAMap (was DynAttrsOSDMap) rather than inheriting ↵Justin Clark-Casey (justincc)1-2/+2
from it This is the easier way to give us control over locking, rather than asking that OSDMap IDictionary methods be virtual
2013-01-25Implement Dynamic Attributes for SOP and PBS. Implement storage in SQLiteJustin Clark-Casey (justincc)1-1/+8
2013-01-23* This makes the non-physics llCastRay 'better'. It's not 'correctly ↵teravus1-0/+1
working', and if you look deep enough, you see that the results are not really stable depending on the direction of the ray.
2013-01-23Add the Avination physics raycast glue so Core Physics can implement raycastMelanie1-0/+13
2013-01-21Have SOP and LSL_Api call the proper GetCenterOfMass and GetGeometricCenterRobert Adams1-0/+10
routines on the physics engine. Won't make a difference for any existing scripts since ODE always returned Vector3.Zero.
2013-01-19Check the existing ScenePresence.ParentPart to make sure we're not trying to ↵Justin Clark-Casey (justincc)1-2/+1
sit on a prim we're already sat upon, rather than looking up the part from scratch. An adaptation of commit 055b8a2 Having both ParentID and ParentPart references now is redundant. ParentID should probably be eliminated.
2013-01-18Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)2-5/+33
Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet