aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-26refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)7-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
2011-08-26refactor: move SOG.DetachToGround() to ↵Justin Clark-Casey (justincc)2-41/+35
AttachmentsModule.DetachSceneObjectToGround() and remove redundant code
2011-08-26refactor: simplify DetachSingleAttachmentToGround() by retrieving the scene ↵Justin Clark-Casey (justincc)2-11/+12
object group direct
2011-08-26refactor: remove common presence set up in attachments testsJustin Clark-Casey (justincc)1-32/+38
2011-08-26comment out verbose test logging from last commitJustin Clark-Casey (justincc)1-1/+1
2011-08-26add regression test for detaching an attachment to the sceneJustin Clark-Casey (justincc)1-0/+33
2011-08-26refactor: move sog.DetachToInventoryPrep() into ↵Justin Clark-Casey (justincc)3-36/+23
AttachmentsModule.DetachSingleAttachmentToInv()
2011-08-26Downgrade warning about not saving unchanged attachment to debug instead, ↵Justin Clark-Casey (justincc)1-1/+4
and change text to better indicate what it's saying
2011-08-26Fix a very recent regression from llAttachToAvatar() fix where I ↵Justin Clark-Casey (justincc)1-5/+1
accidentally stopped normal script state persistence on login/logout and attach/detach
2011-08-25llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin2-51/+111
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-08-24Remove forcing of phantom on ground attached objects - attachments can be ↵Justin Clark-Casey (justincc)3-7/+2
both non-phantom and flagged as physical. As per Melanie
2011-08-24remove pointless IsDeleted check on SP.RezAttachments()Justin Clark-Casey (justincc)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
2011-08-24refactor: simplify EntityBase.IsDeleted propertyJustin Clark-Casey (justincc)3-10/+5
2011-08-24extend initial rez regression test to check that attachment is phantomJustin Clark-Casey (justincc)1-9/+14
2011-08-24Make objects attached from the ground phantomJustin Clark-Casey (justincc)2-2/+12
2011-08-24add SOG helper properties IsPhantom, IsTemporary, etc. to improve code ↵Justin Clark-Casey (justincc)1-20/+46
readability use these in some sog methods
2011-08-24return InventoryItemBase from AddSceneObjectAsAttachment()Justin Clark-Casey (justincc)1-8/+4
2011-08-24refactor: move Scene.Inventory.attachObjectAssetStore() into ↵Justin Clark-Casey (justincc)2-86/+100
AttachmentsModule.AddSceneObjectAsAttachment()
2011-08-24get rid of pointless grp null check in attachObjectAssetStore()Justin Clark-Casey (justincc)1-73/+69
2011-08-24minor: remove hardcoded region numbers with the region size constant and a ↵Justin Clark-Casey (justincc)1-2/+2
currently hardcoded offset
2011-08-24refactor: remove pointless AgentId argument from attachObjectAssetStore()Justin Clark-Casey (justincc)2-2/+2
2011-08-24add TestAddAttachmentFromGround() regression testJustin Clark-Casey (justincc)2-2/+32
2011-08-24Fix llAttachToAvatar()Justin Clark-Casey (justincc)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.
2011-08-23rename AttachmentsModule.ShowDetachInUserInventory() to ↵Justin Clark-Casey (justincc)4-23/+14
DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour
2011-08-23remove mono compiler warningsJustin Clark-Casey (justincc)9-16/+4
2011-08-23replace TestRemoveAttachments() with a more thorough TestRemoveAttachment()Justin Clark-Casey (justincc)1-51/+27
2011-08-23replace old TestAddAttachments() with a more thorough TestAddAttachment()Justin Clark-Casey (justincc)1-7/+28
2011-08-23Protect a check for default texture entry when setting alpha values. ApparentlyMic Bowman1-3/+10
if all faces have their own textures then the default texture is null
2011-08-23Remove pointless contains check in ScenePresence.RemoveAttachment()Justin Clark-Casey (justincc)1-6/+1
2011-08-23If an object failed to attach due to an exception, then try and detach it ↵Justin Clark-Casey (justincc)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
2011-08-22If an attachment fails, then start logging the exception for now, in order ↵Justin Clark-Casey (justincc)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.
2011-08-22Add warning log message to say which attachment fails validation in order to ↵Justin Clark-Casey (justincc)1-0/+10
pin down problems with "Inconsistent Attachment State"
2011-08-22minor: remove mono compiler warningJustin Clark-Casey (justincc)1-3/+1
2011-08-22minor: comment out simulator features log lineJustin Clark-Casey (justincc)1-1/+1
2011-08-22Add ISimulatorFeaturesModule so that other modules can register features in ↵Justin Clark-Casey (justincc)2-36/+129
addition to the hardcoded ones.
2011-08-22Thanks Neil Canham for fixing bulk inventory updates, no sending ↵Snoopy Pfeffer2-2/+13
BulkInventoryUpdate after accepting inventory items.
2011-08-22read m_rpcHandlersKeepAlive under appropriate lockJustin Clark-Casey (justincc)1-2/+4
2011-08-22oops, fix build break from last commitJustin Clark-Casey (justincc)1-12/+8
2011-08-22improve locking of m_agentHandlers in BaseHttpServerJustin Clark-Casey (justincc)1-10/+10
2011-08-22improve locking of m_HTTPHandlers in BaseHttpServerJustin Clark-Casey (justincc)1-2/+2
2011-08-22improve locking of m_streamHandlers in BaseHttpServerJustin Clark-Casey (justincc)1-2/+4
2011-08-22remove necessity to catch a KeyNotFoundException in ↵Justin Clark-Casey (justincc)1-11/+6
BaseHttpServer.RemoveLLSDHandler()
2011-08-22improve locking of m_llsdHandlers in BaseHttpServerJustin Clark-Casey (justincc)1-30/+32
2011-08-22minor: remove mono compiler warningJustin Clark-Casey (justincc)1-3/+3
2011-08-22improve locking of m_rpcHandlers in BaseHttpServerJustin Clark-Casey (justincc)1-1/+2
2011-08-20Add avatar and attachments to llRegionSayBlueWall3-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?
2011-08-19Add llRegionSayToBlueWall5-6/+68
llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
2011-08-19Fix exception when using BasicPhysicsRobert Adams1-2/+2
2011-08-19Stop NPC's getting hypergrid like names in some circumstances.Justin Clark-Casey (justincc)5-29/+102
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
2011-08-18Don't need to try both AssetService.Get and GetCached in GetMesh since Get ↵Justin Clark-Casey (justincc)2-38/+15
always calls GetCached and code paths were identical