aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix avatars going to corner of region when they are sitting on a child prim ↵Vegaslon2014-05-061-1/+1
| | | | and the prim is deleted.
* Fixes a long-standing bug related to god-mode change ownership of objects ↵Diva Canto2014-04-241-3/+5
| | | | permissive, where the permissions of the children prims' inventory items were not changed. As a consequence, we couldn't control some of the objects imported via HG and OARs even in god mode.
* refactor: Use m_sittingAvatars to maintain the list of sitting avatars ↵Justin Clark-Casey (justincc)2014-04-031-48/+6
| | | | | | instead of two independent structures that do exactly the same thing m_sittingAvatars code also already properly handles locking to avoid races.
* Don't clear avsToCross in SOG.AbsolutePosition.set(), this is unnecessary ↵Justin Clark-Casey (justincc)2014-04-031-6/+1
| | | | since the structure is local and never reused after the clear
* Fix bug where crossing to a neighbouring region and back again would trigger ↵Justin Clark-Casey (justincc)2014-04-031-6/+25
| | | | | | | | | an exception, and a second recross would stop the user moving until relog Also fixes an issue where sitting avatar counts became inaccurate after any cross. Part of the problem was due to cloning code using MemberwiseClone() but not resetting certain collection structures. Adds regression test for this case. In relation to http://opensimulator.org/mantis/view.php?id=7050
* Removed "hacktastic" code that is no longer needed.Oren Hurvitz2014-03-241-21/+0
| | | | | | We no longer set the object's AbsolutePosition in this place, so the IsAttachment hack doesn't do anything anymore. This resolves http://opensimulator.org/mantis/view.php?id=6936
* When linking two groups, and then deleting the combined group: delete *all* ↵Oren Hurvitz2014-03-241-7/+31
| | | | | | of the combined group's prims, including those that came from the second subgroup This fixes http://opensimulator.org/mantis/view.php?id=6175
* Rename SOG.InSceneBackup to CanBeBackedUp to reflect its actual functionality.Justin Clark-Casey (justincc)2014-03-221-2/+6
| | | | | It does not indicate that a SOG has been set to be backed up or not. It indicates that a SOG can be backed up in principle. In practice, this was added by lbsa71 in 2007 and is set to always true, albeit as a virtual property.
* If an object has it's temporary flag unset after being set, put it back in ↵Justin Clark-Casey (justincc)2014-03-221-12/+25
| | | | | | | the persistence list. Effectively uses the patch in http://opensimulator.org/mantis/view.php?id=7060 But also adds a regression test and exposes the necessary property to allow this to work.
* Properly restore position on crossing failure for mega-regions.Robert Adams2014-02-151-1/+2
| | | | | Fix odd "cannot cross into banned parcel" viewer error message when crossing into non-existant region. Proper permission failure messages are now returned.
* Rewrite of mega-region code to use new form of border checking.Robert Adams2014-02-151-14/+5
| | | | | | | This commit eliminates all of the 'border' class and list code and replaces it with testing if in the current region. Impacts: can make a mega-region out of varregions of the same size; and mega-region combinations must be rectangular (not square but rectangular)
* Merge branch 'master' into varregionRobert Adams2014-01-111-5/+8
|\ | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneBase.cs OpenSim/Services/Interfaces/IGridService.cs OpenSim/Services/LLLoginService/LLLoginResponse.cs (conflicts were debug statements that are commented out in master branch)
| * Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-101-5/+5
| |\
| | * When moving the root prim of an attachment: a) Change the attach position; ↵Oren Hurvitz2014-01-101-5/+5
| | | | | | | | | | | | b) Move the other prims in the reverse direction to compensate
| * | Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-101-0/+3
| |\ \ | | |/
| | * Refactored setting permissions when rezzing items: use the same function ↵Oren Hurvitz2014-01-101-0/+3
| | | | | | | | | | | | | | | | | | when rezzing from user inventory and prim inventory. Also, fixed a bug: when rezzing a coalesced object from a prim's inventory, apply the coalesced object's name and description only to the first sub-object; not to all the objects in the coalescence. (This was already done correctly when rezzing from a user's inventory.)
* | | varregion: many more updates removing the constant RegionSize and replacingRobert Adams2013-12-261-10/+10
| | | | | | | | | | | | with a passed region size. This time in the map code and grid services code.
* | | Merge branch 'master' into varregionRobert Adams2013-12-171-2/+192
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Add new region crossing code to varregion Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * | This is the acutal sitting avatar crossing code. This commit implements theMelanie2013-12-161-2/+152
| | | | | | | | | | | | | | | | | | | | | | | | actual crossing mechanics for seated avatars, using the supporting code from the previous commits. Physics is not supported yet, although some few bits for them are already in place due to the earlier code drops. With this commit, crossing sitting avatar by "editing" the prim across the border, by using llSetPos or keyframe motion may already be possible. Vehicles will come next.
| * | Committing the Avination Scene Presence and related texture codeMelanie2013-12-111-0/+42
| |/ | | | | | | | | | | | | | | | | - Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
* | varregion: remove uses of region size constant. In particular, update sceneRobert Adams2013-11-041-3/+3
|/ | | | to check for border crossings based on the size of the region.
* Improve situation where editing just the root prim of an attachment causes ↵Justin Clark-Casey (justincc)2013-06-251-1/+10
| | | | | | | other prims to be set to very far off positions on reattach. Functionally the same as the patch by tglion in http://opensimulator.org/mantis/view.php?id=5334 However, not yet perfect - after editing just root prim on reattach the position is still wrong, though other prims are not set to far off positions.
* Tidy up SOG.UpdateRootPosition() to eliminate unnecessary copying of Vector3 ↵Justin Clark-Casey (justincc)2013-06-251-10/+4
| | | | structs
* Fix prim locking to behave like SLMelanie2013-06-231-2/+2
|
* * This fixes having to select and deselect prim to get keyframemotion to ↵teravus2013-06-121-0/+5
| | | | start running when pulled from data storage.
* Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie2013-06-061-0/+13
| | | | may yield unexpected results in some cases. No database persistence yet,
* minor: Remove unnecessary duplication of AbsolutePosition Vector3 in SOG.Copy()Justin Clark-Casey (justincc)2013-05-241-1/+0
| | | | As a struct, Vector3 has already been cloned by MemberwiseClone()
* Fix bug where a cloned object would report the wrong llGetNumberOfPrims() ↵Justin Clark-Casey (justincc)2013-05-231-0/+1
| | | | | | | when avatars had been sitting on the original and a different avatar sat on the copy within the same opensim session. This was because the sitting avatars list was being cloned rather than reset. Addresses http://opensimulator.org/mantis/view.php?id=6649
* remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)2013-05-091-1/+1
|
* Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)2013-05-091-7/+7
| | | | | | | | looking in from neighbouring sims. This was because this particular code path (unlike user delete) only sent kills to root presences, for no apparent good reason. Added regression test for this case. This fixes http://opensimulator.org/mantis/view.php?id=6627
* Export permission, part two. Setting export perms for textures and clothing ↵Melanie2013-03-311-0/+9
| | | | | | 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!
* Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-261-0/+1
| | | | 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"
* Fix llGetLinkKey() to return the last sat avatar as the last link number.Justin Clark-Casey (justincc)2013-01-041-6/+29
| | | | | | | | As per http://wiki.secondlife.com/wiki/LlGetLinkKey This is done by keeping a scene-object wide list of sitters. This also fixes bugs in this function where linknums 0 and 1 weren't treated properly if there were sitting avatars on a single prim. This also fixes a minor race condition for multiple concurrent sitters on a prim with no current sitters by locking on the object-wide list rather than individual sop lists Addresses http://opensimulator.org/mantis/view.php?id=6477
* Replace axis rotation numeric constants (STATUS_ROTATE_XYZ) with symbols. ↵Robert Adams2012-12-181-0/+9
| | | | Also made it so llSetStatus() can individually enable disable rotation axi using the bitmask of flags.
* BulletSim: experimentally remove unit displacement from prim border crossing ↵Robert Adams2012-12-161-2/+13
| | | | test. This seems to cause border crossing to be sensed either a little early or a little late depending on which directin the object is moving. If border crossings become totally borked or someone remembers why this was displacement was done, revert this change.
* extend coment to include all unused SOG CheckSculptAndLoad()UbitUmarov2012-10-181-3/+4
|
* [DANGER UNTESTED] ODE mesh assets. Other plugins will not do meshs/sculptsUbitUmarov2012-10-181-2/+2
| | | | | | now Signed-off-by: Melanie <melanie@t-data.com>
* Add MaxPrimsUndo config setting to [Startup] section of OpenSim.ini.Justin Clark-Casey (justincc)2012-09-271-8/+0
| | | | | | This controls how many undo steps the simulator will store for each prim. Default is now 20 rather than 5 as it briefly was. The default number could be increased through this is a memory tradeoff which will scale with the number of prims in the sim and level of activity.
* Make it possible to rescale SOGs when they are not in a scene.Justin Clark-Casey (justincc)2012-09-261-26/+28
|
* Fix indentation and issues where tabs were used instead of spaces in commit ↵Justin Clark-Casey (justincc)2012-09-121-7/+8
| | | | 783ee949
* implementing per-region configuration of limits on the number of prims one ↵SignpostMarv2012-09-091-0/+18
| | | | | | | | can have in a linkset Applied with changes - patch was based on a repo different from core Signed-off-by: Melanie <melanie@t-data.com>
* Fix bad child prim permissions that can make objects change perms after rezzingMelanie2012-08-241-3/+15
| | | | Port from Avination
* enables configurable minimum sizes for physical & non-physical primsSignpostMarv2012-08-151-6/+54
|
* Restore SOG constructor chaining removed in recent 513b77b. This is not a ↵Justin Clark-Casey (justincc)2012-08-031-1/+1
| | | | functional change.
* refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵Justin Clark-Casey (justincc)2012-08-031-1/+1
| | | | FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID.
* Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this ↵Justin Clark-Casey (justincc)2012-08-031-3/+4
| | | | is already its default value as it's a struct.
* Initialize the Rezzing object to UUID.ZeroMelanie2012-08-021-3/+4
|
* reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-021-0/+8
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Many explanitory comments added to the link and delink code inRobert Adams2012-07-111-15/+73
| | | | SOG and SOP. Should have no functionality changes.
* Do not allow a script to attach a prim if its being sat upon.Justin Clark-Casey (justincc)2012-07-091-0/+14
| | | | | | This prevents a stack overflow where a get position on the avatar will refer to the attachment which will in turn refer back to the avatar. This required recording of all sitting avatars on a prim which is done separately from recording the sit target avatar. Recording HashSet is null if there are no sitting avatars in order to save memory.