Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove forcing of phantom on ground attached objects - attachments can be ↵ | Justin Clark-Casey (justincc) | 2011-08-24 | 3 | -7/+2 |
| | | | | | | both non-phantom and flagged as physical. As per Melanie | ||||
* | remove pointless IsDeleted check on SP.RezAttachments() | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -3/+0 |
| | | | | | IsDeleted is never set for an SP, even though it's on EntityBase. It might be an idea to set it in the future | ||||
* | refactor: simplify EntityBase.IsDeleted property | Justin Clark-Casey (justincc) | 2011-08-24 | 3 | -10/+5 |
| | |||||
* | extend initial rez regression test to check that attachment is phantom | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -9/+14 |
| | |||||
* | Make objects attached from the ground phantom | Justin Clark-Casey (justincc) | 2011-08-24 | 2 | -2/+12 |
| | |||||
* | add SOG helper properties IsPhantom, IsTemporary, etc. to improve code ↵ | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -20/+46 |
| | | | | | | readability use these in some sog methods | ||||
* | return InventoryItemBase from AddSceneObjectAsAttachment() | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -8/+4 |
| | |||||
* | refactor: move Scene.Inventory.attachObjectAssetStore() into ↵ | Justin Clark-Casey (justincc) | 2011-08-24 | 2 | -86/+100 |
| | | | | AttachmentsModule.AddSceneObjectAsAttachment() | ||||
* | get rid of pointless grp null check in attachObjectAssetStore() | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -73/+69 |
| | |||||
* | minor: remove hardcoded region numbers with the region size constant and a ↵ | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -2/+2 |
| | | | | currently hardcoded offset | ||||
* | refactor: remove pointless AgentId argument from attachObjectAssetStore() | Justin Clark-Casey (justincc) | 2011-08-24 | 2 | -2/+2 |
| | |||||
* | add TestAddAttachmentFromGround() regression test | Justin Clark-Casey (justincc) | 2011-08-24 | 2 | -2/+32 |
| | |||||
* | Fix llAttachToAvatar() | Justin Clark-Casey (justincc) | 2011-08-24 | 6 | -24/+80 |
| | | | | | | Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay. So we now don't do this. The state will be serialized anyway when the avatar normally logs out. The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state. | ||||
* | rename AttachmentsModule.ShowDetachInUserInventory() to ↵ | Justin Clark-Casey (justincc) | 2011-08-23 | 4 | -23/+14 |
| | | | | DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour | ||||
* | remove mono compiler warnings | Justin Clark-Casey (justincc) | 2011-08-23 | 9 | -16/+4 |
| | |||||
* | replace TestRemoveAttachments() with a more thorough TestRemoveAttachment() | Justin Clark-Casey (justincc) | 2011-08-23 | 1 | -51/+27 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2011-08-23 | 1 | -3/+10 |
|\ | |||||
| * | Protect a check for default texture entry when setting alpha values. Apparently | Mic Bowman | 2011-08-23 | 1 | -3/+10 |
| | | | | | | | | if all faces have their own textures then the default texture is null | ||||
* | | replace old TestAddAttachments() with a more thorough TestAddAttachment() | Justin Clark-Casey (justincc) | 2011-08-23 | 1 | -7/+28 |
|/ | |||||
* | Remove pointless contains check in ScenePresence.RemoveAttachment() | Justin Clark-Casey (justincc) | 2011-08-23 | 1 | -6/+1 |
| | |||||
* | If an object failed to attach due to an exception, then try and detach it ↵ | Justin Clark-Casey (justincc) | 2011-08-23 | 1 | -1/+2 |
| | | | | | | | from the avatar's list of attachments as well as delete it from the scene. This may help with the "Inconsistent attachment state" errors seen on teleport. See http://opensimulator.org/mantis/view.php?id=5644 and linked reports | ||||
* | If an attachment fails, then start logging the exception for now, in order ↵ | Justin Clark-Casey (justincc) | 2011-08-22 | 3 | -61/+84 |
| | | | | | | to help with the inconsistent state bug. This also refactors AttachmentsModules to stop pointlessly refetching the ScenePresence in various methods. However, more of this is required. | ||||
* | Add warning log message to say which attachment fails validation in order to ↵ | Justin Clark-Casey (justincc) | 2011-08-22 | 1 | -0/+10 |
| | | | | pin down problems with "Inconsistent Attachment State" | ||||
* | minor: comment out simulator features log line | Justin Clark-Casey (justincc) | 2011-08-22 | 1 | -1/+1 |
| | |||||
* | Add ISimulatorFeaturesModule so that other modules can register features in ↵ | Justin Clark-Casey (justincc) | 2011-08-22 | 2 | -36/+129 |
| | | | | addition to the hardcoded ones. | ||||
* | Thanks Neil Canham for fixing bulk inventory updates, no sending ↵ | Snoopy Pfeffer | 2011-08-22 | 2 | -2/+13 |
| | | | | BulkInventoryUpdate after accepting inventory items. | ||||
* | Add avatar and attachments to llRegionSay | BlueWall | 2011-08-20 | 3 | -11/+71 |
| | | | | | | | | | | | | llRegionSay will now message avatars on chan 0 and will message attachments on the avatar that listen on channels other than 0. This behavior is consistant with the LL implementation as tested on regions in Agni with one exception: this implementation does not include issue: https://jira.secondlife.com/browse/SCR-66? | ||||
* | Add llRegionSayTo | BlueWall | 2011-08-19 | 5 | -6/+68 |
| | | | | | | | llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim. | ||||
* | Fix exception when using BasicPhysics | Robert Adams | 2011-08-19 | 1 | -2/+2 |
| | |||||
* | Stop NPC's getting hypergrid like names in some circumstances. | Justin Clark-Casey (justincc) | 2011-08-19 | 4 | -29/+101 |
| | | | | | This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts). May address http://opensimulator.org/mantis/view.php?id=5645 | ||||
* | refactor: fold CreateSceneViewer() back into ScenePresence constructor | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -6/+1 |
| | |||||
* | refactor: Fold 3 ScenePresence() constructors into one since only one is called. | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -9/+2 |
| | |||||
* | Don't try to save changed attachment states when an NPC with attachments is ↵ | Justin Clark-Casey (justincc) | 2011-08-18 | 10 | -18/+26 |
| | | | | | | | removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects | ||||
* | comment out noisy attachments logging | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -5/+5 |
| | |||||
* | For now, supress 'OH NOES' warnings given by ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -5/+5 |
| | | | | | | | HGInventoryBroker.CacheInventoryServiceURL when it tries to cache it for an NPC This concept is meaningless for NPCs. However, it might be better to make NPCism an actual property on ScenePresence and check. Addresses http://opensimulator.org/mantis/view.php?id=5643 | ||||
* | Fix issue where loading a new appearance onto an NPC would not remove the ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 3 | -3/+14 |
| | | | | | | previous attachments from the scene. Addresses http://opensimulator.org/mantis/view.php?id=5636 | ||||
* | extend test to check that there is one attachment and that it has the right name | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -1/+6 |
| | |||||
* | Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 4 | -11/+33 |
| | | | | attachments check | ||||
* | get rid of logged warnings about lack of some modules - afaik these never ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -10/+0 |
| | | | | occur in real life and just clutter up tests | ||||
* | Add new FireAndForgetMethod.None. | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -13/+33 |
| | | | | This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering. | ||||
* | Move some previously common code back into separate tests. Remove unused ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -10/+9 |
| | | | | region handle from test. | ||||
* | Isolate existing incomplete attachments tests rather than have them rely on ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -5/+5 |
| | | | | | | each other. Much easier to debug this way. | ||||
* | drop number of attachments in test from 3 to 2 to reduce text complexity | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -4/+1 |
| | |||||
* | remove setting up of second scene in attachments since it's not currently used | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -24/+21 |
| | |||||
* | relocate AttachmentTests.cs to AttachmentsModuleTests.cs | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -2/+2 |
| | |||||
* | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-08-16 | 2 | -5/+6 |
| | |||||
* | minor: change some comment text in flotsam asset cache | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -4/+3 |
| | |||||
* | On Flotsam asset cache, go back to moving the file from the temporary ↵ | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -26/+47 |
| | | | | | | | location rather than copying. Copying doesn't prevent IOExceptions on Windows due to file locking. (e.g. Mantis 5642, 5630). So instead go back to moving the file, swallowing IOExceptions that occur just for the move due to competing caching threads or even different opensimulator instances. | ||||
* | Add "shutdown" message to RegionReady | BlueWall | 2011-08-15 | 1 | -0/+5 |
| | | | | | | Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle | ||||
* | Added console command "delete object outside" to delete all objects outside ↵ | Snoopy Pfeffer | 2011-08-15 | 1 | -2/+37 |
| | | | | region boundaries. This is especiyll useful in cases where physical objects outside regions boundaries cause much physics engine lag. |