aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in persisting saved appearances for npcsJustin Clark-Casey (justincc)2011-08-306-17/+131
| | | | | Assets have to be marked non-local as well as non-temporary to persist. This is now done. Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660
* Move GetMeshKey from buried inside Meshmerizer to a public method on ↵Robert Adams2011-08-281-62/+1
| | | | | | PrimitiveBaseShape Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add level of detail specification to optionally reduce the number of ↵Robert Adams2011-08-282-5/+42
| | | | | | vertices in generated prim meshes Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Related to #4689 - Adding missing null check for SceneObjectPartMakopoppo2011-08-272-4/+18
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Stop avatars returning from neighbouring regions from stalling on the border ↵Justin Clark-Casey (justincc)2011-08-271-3/+22
| | | | | | | | | crossing. On making a root agent, we need to reset the ScenePresence.m_movement_flag so that it doesn't remember the movement registered to the client when it exited the initial region. If this is remember, then the client avatar movement isn't updated and it appears to stall in mid-air, though this is resolved with a prod/release of any other direction key. This bug was probably introduced a few weeks ago. Surprised that nobody brought it up.
* Eliminate duplicate AttachmentPoint properties by always using the one ↵Justin Clark-Casey (justincc)2011-08-274-44/+41
| | | | stored in the root part's state field.
* refactor: camel case AttachmentPoint method arg as per code standardsJustin Clark-Casey (justincc)2011-08-271-4/+4
|
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-2715-109/+81
| | | | pointless duplication of identical values
* refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-267-27/+26
| | | | This does a tiny bit to reduce code complexity, memory requirement and the cpu time of pointlessly setting this field to the same value in every SOP
* refactor: move SOG.DetachToGround() to ↵Justin Clark-Casey (justincc)2011-08-262-41/+35
| | | | AttachmentsModule.DetachSceneObjectToGround() and remove redundant code
* refactor: simplify DetachSingleAttachmentToGround() by retrieving the scene ↵Justin Clark-Casey (justincc)2011-08-262-11/+12
| | | | object group direct
* refactor: remove common presence set up in attachments testsJustin Clark-Casey (justincc)2011-08-261-32/+38
|
* comment out verbose test logging from last commitJustin Clark-Casey (justincc)2011-08-261-1/+1
|
* add regression test for detaching an attachment to the sceneJustin Clark-Casey (justincc)2011-08-261-0/+33
|
* refactor: move sog.DetachToInventoryPrep() into ↵Justin Clark-Casey (justincc)2011-08-263-36/+23
| | | | AttachmentsModule.DetachSingleAttachmentToInv()
* Downgrade warning about not saving unchanged attachment to debug instead, ↵Justin Clark-Casey (justincc)2011-08-261-1/+4
| | | | and change text to better indicate what it's saying
* Fix a very recent regression from llAttachToAvatar() fix where I ↵Justin Clark-Casey (justincc)2011-08-261-5/+1
| | | | accidentally stopped normal script state persistence on login/logout and attach/detach
* Merge branch 'master' of /home/opensim/src/opensimBlueWall2011-08-252-51/+111
|\
| * llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin2011-08-252-51/+111
| | | | | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* | Remove forcing of phantom on ground attached objects - attachments can be ↵Justin Clark-Casey (justincc)2011-08-243-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-241-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 propertyJustin Clark-Casey (justincc)2011-08-243-10/+5
| |
* | extend initial rez regression test to check that attachment is phantomJustin Clark-Casey (justincc)2011-08-241-9/+14
| |
* | Make objects attached from the ground phantomJustin Clark-Casey (justincc)2011-08-242-2/+12
| |
* | add SOG helper properties IsPhantom, IsTemporary, etc. to improve code ↵Justin Clark-Casey (justincc)2011-08-241-20/+46
| | | | | | | | | | | | readability use these in some sog methods
* | return InventoryItemBase from AddSceneObjectAsAttachment()Justin Clark-Casey (justincc)2011-08-241-8/+4
| |
* | refactor: move Scene.Inventory.attachObjectAssetStore() into ↵Justin Clark-Casey (justincc)2011-08-242-86/+100
| | | | | | | | AttachmentsModule.AddSceneObjectAsAttachment()
* | get rid of pointless grp null check in attachObjectAssetStore()Justin Clark-Casey (justincc)2011-08-241-73/+69
| |
* | minor: remove hardcoded region numbers with the region size constant and a ↵Justin Clark-Casey (justincc)2011-08-241-2/+2
| | | | | | | | currently hardcoded offset
* | refactor: remove pointless AgentId argument from attachObjectAssetStore()Justin Clark-Casey (justincc)2011-08-242-2/+2
| |
* | add TestAddAttachmentFromGround() regression testJustin Clark-Casey (justincc)2011-08-242-2/+32
|/
* Fix llAttachToAvatar()Justin Clark-Casey (justincc)2011-08-246-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-234-23/+14
| | | | DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-239-16/+4
|
* replace TestRemoveAttachments() with a more thorough TestRemoveAttachment()Justin Clark-Casey (justincc)2011-08-231-51/+27
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2011-08-231-3/+10
|\
| * Protect a check for default texture entry when setting alpha values. ApparentlyMic Bowman2011-08-231-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-231-7/+28
|/
* Remove pointless contains check in ScenePresence.RemoveAttachment()Justin Clark-Casey (justincc)2011-08-231-6/+1
|
* If an object failed to attach due to an exception, then try and detach it ↵Justin Clark-Casey (justincc)2011-08-231-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-223-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-221-0/+10
| | | | pin down problems with "Inconsistent Attachment State"
* minor: comment out simulator features log lineJustin Clark-Casey (justincc)2011-08-221-1/+1
|
* Add ISimulatorFeaturesModule so that other modules can register features in ↵Justin Clark-Casey (justincc)2011-08-222-36/+129
| | | | addition to the hardcoded ones.
* Thanks Neil Canham for fixing bulk inventory updates, no sending ↵Snoopy Pfeffer2011-08-222-2/+13
| | | | BulkInventoryUpdate after accepting inventory items.
* Add avatar and attachments to llRegionSayBlueWall2011-08-203-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 llRegionSayToBlueWall2011-08-195-6/+68
| | | | | | | llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
* Fix exception when using BasicPhysicsRobert Adams2011-08-191-2/+2
|
* Stop NPC's getting hypergrid like names in some circumstances.Justin Clark-Casey (justincc)2011-08-194-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 constructorJustin Clark-Casey (justincc)2011-08-181-6/+1
|