Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stop the redundant passing in of RegionInfo to SceneGraph, since the Scene ↵ | Justin Clark-Casey (justincc) | 2011-09-12 | 1 | -5/+2 |
| | | | | is always passed in at the same time. | ||||
* | minor: if the script engine fails to find a prim for a script, also print ↵ | Justin Clark-Casey (justincc) | 2011-09-12 | 1 | -0/+4 |
| | | | | out that prim's local id in the error message. | ||||
* | Eliminate pointless checks of SOG.RootPart != null | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -1/+1 |
| | | | | It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized | ||||
* | Remove pointless cluttering SOP.ParentGroup != null checks. | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -19/+10 |
| | | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent. | ||||
* | refactor: migrate DropObject handling fully into AttachmentsModule from Scene | Justin Clark-Casey (justincc) | 2011-08-30 | 1 | -7/+0 |
| | |||||
* | Related to #4689 - Adding missing null check for SceneObjectPart | Makopoppo | 2011-08-27 | 1 | -4/+10 |
| | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | Don't try to save changed attachment states when an NPC with attachments is ↵ | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -2/+3 |
| | | | | | | | 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 | ||||
* | refactor: rename UpdatePrimPosition() to UpdatePrimGroupPosition() for ↵ | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -2/+2 |
| | | | | consistency | ||||
* | Rename UpdatePrimRotation() to UpdatePrimGroupRotation() since this is what ↵ | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -3/+3 |
| | | | | it actually does and is more consistent with other method names. | ||||
* | Stop undo of just the root prim position in the linkset from shifting the ↵ | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -1/+0 |
| | | | | | | whole linkset. However, what happens now is that undo just doesn't do anything when the root prim is selected on its own. This requires more code than just fiddling with undo states. | ||||
* | fix undo when resizing of non-root individual prims in a linkset | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -1/+1 |
| | | | | undo resize, rotation and position still needs fixing when only editing root prim of a linkset | ||||
* | Make various tweaks to undo code in an effort to get things working better. | Justin Clark-Casey (justincc) | 2011-07-18 | 1 | -0/+1 |
| | | | | | | | Undo rotation and position appear to be working. Resizing a single prim appears to be working, though the undo has to be done twice. Resizing a group of prims still does not work properly - possibly because in the UndoState we don't store a knowledge of when we're resizing a whole group rather than individual prims. This needs to be addressed. | ||||
* | Replace ifs in SOG.GroupResize() with Math.Min() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -0/+1 |
| | | | | | Also fiddle a bit with undo. This is not currently working properly, though to be fair it also didn't appear to work in 0.7.1.1 either (at least for resize). Will get some more attention soon. | ||||
* | refactor: Push all part resize code down into SceneObjectPart.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -4/+5 |
| | |||||
* | add test for resizing one part in a group | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | remove the need to supply SceneObjectGroup.GroupResize() with a localId. | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+1 |
| | | | | This is utterly pointless scene we already know which sog we're dealing with. | ||||
* | refactor: Make arguments to SceneGraph.UpdatePrimFlags() more readable | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -6/+11 |
| | |||||
* | minor: add method doc to make it clear that click action is fired when the ↵ | Justin Clark-Casey (justincc) | 2011-06-10 | 1 | -1/+10 |
| | | | | click action is changed, not when a prim is clicked | ||||
* | refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -8/+9 |
| | | | | copy/pasting code with small differences | ||||
* | implement Scene.GetSceneObjectGroup(string name) to match the equivalent ↵ | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -1/+30 |
| | | | | GetSOP method | ||||
* | implement Scene.GetSceneObjectGroup(UUID fullID) using existing index | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -0/+16 |
| | |||||
* | add test for rezzing an object from a prim item | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -0/+3 |
| | |||||
* | Implement agent limits | Melanie | 2011-04-21 | 1 | -0/+5 |
| | |||||
* | Add coalesced scene objects class and serializer. This is currently only ↵ | Justin Clark-Casey (justincc) | 2011-04-13 | 1 | -0/+2 |
| | | | | | | | | | used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly. | ||||
* | Fix bug where on duplication, the root part local id was continually used in ↵ | Justin Clark-Casey (justincc) | 2011-04-06 | 1 | -1/+1 |
| | | | | populating the local id scene object index instead of each part's local id | ||||
* | When an object is duplicated, add it to the full/local id SOG indexes as ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 1 | -1/+29 |
| | | | | well as Entities | ||||
* | Make SceneGraph.ForEachSOG() execute once for each SOG, not once for each ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 1 | -5/+25 |
| | | | | | | | | prim (e.g. a SOG with 3 prims would have the action executed three times). To do this, a new SceneObjectGroupsByFullID index in SceneGraph which just index's prims by their root part UUID, in order to avoid the inefficiency of filtering existing lists. Existing callers to SceneGraph.ForEachSOG() did not fail due to the multiple per SOG action executions - they were probably just much less efficient. Code suggests that no callers expected ForEachSOG() to execute actions on sog multiple times | ||||
* | refactor: rename SOG collections in SceneGraph to make it clearer that they ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 1 | -30/+30 |
| | | | | are indexing each part's UUID, not just the root part. | ||||
* | Add an initial confidence-building TestAddObject() for prim counts. | Justin Clark-Casey (justincc) | 2011-03-22 | 1 | -6/+7 |
| | |||||
* | Fix bug where avatars in other regions would not always show up on the mini-map | Justin Clark-Casey (justincc) | 2011-02-24 | 1 | -1/+2 |
| | |||||
* | Remove the RestorePresences functions (which don't seem to be doing | Mic Bowman | 2011-01-26 | 1 | -2/+2 |
| | | | | | anything) and clean up the code in AddNewClient (so Appearance only gets assigned once, not three times). | ||||
* | reinstate IAttachmentsModule.UpdateAttachmentPosition() since this is being ↵ | Justin Clark-Casey (justincc) | 2010-12-14 | 1 | -7/+2 |
| | | | | | | used by a 3rd party region module and contains non-obvious attachment specific code There are no functional changes. UpdateAttachmentPosition() is adapted to the new approach of only saving attachment state on logout | ||||
* | fix the minimap sitting avatar location bug | Justin Clark-Casey (justincc) | 2010-12-10 | 1 | -1/+1 |
| | | | | a sitting avatar should have it's offset position added to the scene object, not its absolute position | ||||
* | Change the way attachments are persisted. Editing a worn attachment will now | Melanie | 2010-11-16 | 1 | -5/+12 |
| | | | | | | | save properly, as will the results of a resizer script working. Attachment positions are no longer saved on each move, but instead are saved once on logout. Attachment script states are saved as part of the attachment now when detaching. | ||||
* | Prevent nullrefs in scene object deletion. Mantis #5156 | Melanie | 2010-10-27 | 1 | -1/+4 |
| | |||||
* | I really have to say it again and again: e.Message is NOT enough data for | Melanie | 2010-10-03 | 1 | -2/+1 |
| | | | | | | troubleshooting. It MUST be combined with e.StackTrace, or e.ToString() must be used. Fix one more instance of that cr.p | ||||
* | Prevent setting arbitrary groups on your objects. | Melanie | 2010-09-27 | 1 | -0/+3 |
| | |||||
* | Changed SceneObjectGroup to store parts with the fast and thread-safe ↵ | John Hurliman | 2010-09-16 | 1 | -33/+20 |
| | | | | MapAndArray collection | ||||
* | Remove SceneGraph.DetachObject() which was accidentally left around after ↵ | Justin Clark-Casey (justincc) | 2010-09-13 | 1 | -10/+0 |
| | | | | being migrated to AttachmentsModule | ||||
* | Formatting cleanup. | Jeff Ames | 2010-09-12 | 1 | -3/+3 |
| | |||||
* | Second pass at cleaning up thread safety in EntityManager and SceneGraph | John Hurliman | 2010-09-10 | 1 | -34/+32 |
| | |||||
* | First pass at cleaning up thread safety in EntityManager and SceneGraph | John Hurliman | 2010-09-10 | 1 | -136/+127 |
| | |||||
* | Make sure unlinked child prims get persisted | Melanie | 2010-09-07 | 1 | -0/+5 |
| | |||||
* | Adjust the "Magic numbers" we use because we can't reference the actual | Melanie Thielker | 2010-08-31 | 1 | -1/+1 |
| | | | | script state enum to reflect recent changes. | ||||
* | Improve liveness by operating on list copies of SOG.Children where appropriate | Justin Clark-Casey (justincc) | 2010-08-28 | 1 | -25/+26 |
| | |||||
* | refactor: break out attachment position change code in ↵ | Justin Clark-Casey (justincc) | 2010-08-26 | 1 | -24/+13 |
| | | | | | | Scene.UpdatePrimPosition() and move into AttachmentsModule This allows region modules to change attachment positions. | ||||
* | Remove mono compiler warnings | Justin Clark-Casey (justincc) | 2010-08-26 | 1 | -2/+0 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2010-08-26 | 1 | -26/+38 |
|\ | | | | | | | | | | | | | Resolve merge conflicts Conflicts: OpenSim/Region/Framework/Scenes/SceneGraph.cs | ||||
| * | Make scene object directories more robust and prevent deleted SOP's from | Melanie Thielker | 2010-08-25 | 1 | -17/+29 |
| | | | | | | | | sticking around | ||||
* | | Improve consistency of locking for SOG.m_parts in order to avoid race ↵ | Justin Clark-Casey (justincc) | 2010-08-26 | 1 | -45/+66 |
|/ | | | | conditions in linking and unlinking |