Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Go back to resetting the State parameter for all parts of a SOG when ↵ | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -0/+6 |
| | | | | | | | SOG.ClearPartAttachmentData() is called. Even though we don't use these on rez they are still present after an unlink, after which selecting them causes various viewers to crash Hopefully really does address http://opensimulator.org/mantis/view.php?id=5664 | ||||
* | Eliminate pointless checks of SOG.RootPart != null | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -124/+70 |
| | | | | 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 | ||||
* | add Name property to ISceneEntity | Justin Clark-Casey (justincc) | 2011-08-30 | 1 | -2/+5 |
| | |||||
* | Eliminate duplicate AttachmentPoint properties by always using the one ↵ | Justin Clark-Casey (justincc) | 2011-08-27 | 1 | -18/+18 |
| | | | | stored in the root part's state field. | ||||
* | refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵ | Justin Clark-Casey (justincc) | 2011-08-27 | 1 | -25/+19 |
| | | | | pointless duplication of identical values | ||||
* | refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatar | Justin Clark-Casey (justincc) | 2011-08-26 | 1 | -2/+10 |
| | | | | 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-26 | 1 | -40/+6 |
| | | | | AttachmentsModule.DetachSceneObjectToGround() and remove redundant code | ||||
* | refactor: move sog.DetachToInventoryPrep() into ↵ | Justin Clark-Casey (justincc) | 2011-08-26 | 1 | -28/+4 |
| | | | | AttachmentsModule.DetachSingleAttachmentToInv() | ||||
* | refactor: simplify EntityBase.IsDeleted property | Justin Clark-Casey (justincc) | 2011-08-24 | 1 | -3/+3 |
| | |||||
* | 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 | ||||
* | early code to allow scripts to force npcs not to fly when moving to target | Justin Clark-Casey (justincc) | 2011-08-10 | 1 | -1/+1 |
| | | | | | this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final. | ||||
* | Add regression test for setting phantom status on a scene object. This is ↵ | Justin Clark-Casey (justincc) | 2011-08-05 | 1 | -9/+13 |
| | | | | not yet complete. | ||||
* | refactor: rename the move to position methods to move to target to be ↵ | Justin Clark-Casey (justincc) | 2011-08-03 | 1 | -1/+1 |
| | | | | consistent with terminology used by scene object part and elsewhere | ||||
* | get rid of vestigal move to parameters | Justin Clark-Casey (justincc) | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | Partially fix autopilot/go here | Justin Clark-Casey (justincc) | 2011-08-02 | 1 | -10/+1 |
| | | | | | | | This now works again except that it requires a click or avatar mvmt to get going This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over. Even clicking is enough to trigger. This will be improved presently. | ||||
* | Fix undo when changing just the root prim's position in a linkset. | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -4/+6 |
| | | | | | | I think (ha ha) this largely fixes undo, except for the fact that rotation a set of prims with 'edit linked parts' selected doesn't quite work properly (though this works fine if the checkbox isn't selected). Also, the double undo bug for resize is still present. Redo might be incredibly buggy, haven't even looked at that yet. | ||||
* | refactor: rename UpdatePrimPosition() to UpdatePrimGroupPosition() for ↵ | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -2/+2 |
| | | | | consistency | ||||
* | comment out all kinds of debugging guff | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -15/+15 |
| | |||||
* | Fix undo for rotation of the root prim in a linkset on its own. | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -6/+11 |
| | | | | The only obviously broken things right now are the undo of the position of just a root prim (stays in place) and the fact that resizes need two undoes. | ||||
* | Fix undo of rotation of single prims in a linkset | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -3/+5 |
| | |||||
* | Fix undo of prim group rotation. | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -6/+13 |
| | | | | | This isn't that great since I think I broke it a few commits earlier. Undo of rotation of individual prims in a linkset is still broken | ||||
* | fix undo when resizing of non-root individual prims in a linkset | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -3/+5 |
| | | | | undo resize, rotation and position still needs fixing when only editing root prim of a linkset | ||||
* | Fix undo for resizing linksets | Justin Clark-Casey (justincc) | 2011-07-19 | 1 | -8/+15 |
| | | | | | | This involves implementing a boolean in UndoState to signal whether the undo needs to be done for an entire group/linkset or just a single prim Resizing individual components of linksets is still dodgy. Resizing still has to be down twice, since for some reason the client is sending two multiobjectupdate packets on every resize except the very first. This applies to single prims and linksets. Need to look into this. | ||||
* | Make various tweaks to undo code in an effort to get things working better. | Justin Clark-Casey (justincc) | 2011-07-18 | 1 | -13/+45 |
| | | | | | | | 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 | -13/+7 |
| | | | | | 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. | ||||
* | remove now unncessary parts of SceneObjectGroup.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -21/+5 |
| | |||||
* | refactor: Push all part resize code down into SceneObjectPart.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -50/+0 |
| | |||||
* | refactor: make SceneObjectGroup.GroupScale() a property rather than a mehod | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -29/+32 |
| | |||||
* | eliminate unused and redundant SceneObjectGroup.AssetReceived() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -17/+0 |
| | |||||
* | fix build break from last commit | 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 | -130/+131 |
| | | | | This is utterly pointless scene we already know which sog we're dealing with. | ||||
* | Add very basic test for resizing a scene object with one prim | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+2 |
| | |||||
* | If resized shape is a mesh/sculpt, leave it to the mesh asset callback to ↵ | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -2/+8 |
| | | | | | | trigger the physics actor taint. In the last commit, the fix was made by updating all the child prim physics actors with the new size rather than just the root part. | ||||
* | Fix physics proxy regeneration when a mesh with more than one submesh is resized | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -0/+12 |
| | | | | Addresses http://opensimulator.org/mantis/view.php?id=5584 | ||||
* | Fix some local id issues in physics glue | root | 2011-07-15 | 1 | -2/+2 |
| | |||||
* | fix duplication of physical objects for physics engines that care about the ↵ | Robert Adams | 2011-07-15 | 1 | -6/+6 |
| | | | | initial value of localID | ||||
* | When a mesh object is added to a scene, delay adding the physics actor until ↵ | Justin Clark-Casey (justincc) | 2011-07-12 | 1 | -1/+1 |
| | | | | | | the sculpt data has been added to the shape (possibly via an async asset service request) This prevents spurious 'no asset data' for meshes added on startup. | ||||
* | refactor: push the part of SceneObjectGroup.CheckSculptAndLoad() that ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -17/+15 |
| | | | | actually deals with the part into a SceneObjectPart.CheckSculptAndLoad() method | ||||
* | When a sculpt/mesh texture is received by a part on a callback request, ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -0/+3 |
| | | | | | | | don't do the unnecessary work of copying the base shape. Just setting the new base shape is enough to reinsert the sculpt data and set the taint. Also cleans up a few more left-in debugging messages. | ||||
* | refactor: Make arguments for SceneObjectGroup.UpdatePrimFlags() more readable | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -6/+8 |
| | |||||
* | Add localID to physical object creation functions. | Mic Bowman | 2011-06-15 | 1 | -1/+1 |
| | |||||
* | Add the PhysActor to the correct SOP when duplicating a physical | Mic Bowman | 2011-06-15 | 1 | -4/+9 |
| | | | | prim. Thanks, MisterBlue | ||||
* | minor: Add some commented out destructor logging messages for potential ↵ | Justin Clark-Casey (justincc) | 2011-06-10 | 1 | -0/+5 |
| | | | | | | future use. At the moment, client and scene objects are being garbage collected as expected, at least in simple scenarios. | ||||
* | Allow disabling the legacy backup mechanism to avoid the object clone if | Melanie | 2011-05-24 | 1 | -1/+1 |
| | | | | backup is not used. | ||||
* | Minor correction to yesterday's changes. Make normal prim crossing (no ↵ | Diva Canto | 2011-04-29 | 1 | -2/+0 |
| | | | | attach) work well again. | ||||
* | Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵ | Diva Canto | 2011-04-28 | 1 | -0/+2 |
| | | | | the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service. | ||||
* | Merge branch 'master' into test-merge0418 | Mic Bowman | 2011-04-18 | 1 | -7/+14 |
|\ | |||||
| * | simplify coalesced object tests by using existing scene object set up utils | Justin Clark-Casey (justincc) | 2011-04-14 | 1 | -7/+14 |
| | | | | | | | | this change makes it possible to set an absolute position on a group before it is put into a scene. | ||||
* | | First pass at moving object property requests into a queue similar | Mic Bowman | 2011-04-12 | 1 | -4/+6 |
|/ | | | | | | | | to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code. | ||||
* | Signal prim count taint if the AbsolutePosition of a scene object changes. | Justin Clark-Casey (justincc) | 2011-04-06 | 1 | -0/+2 |
| | | | | | This updates prim counts correctly if an object is moved by something other than an avatar (e.g. scripts, region modules) Create TestMoveOwnerObject() regression test for this case. |