aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove now redundant m_physical_prim flag from SOP.ApplyPhysics()Justin Clark-Casey (justincc)2011-10-151-2/+2
|
* Remove unimplementated UpdateMovement() methods from SOG, SOP.Justin Clark-Casey (justincc)2011-10-011-7/+0
| | | | | SP still has an implementation but this is now just a public method on SP rather than an abstract one in EntityBase. No point making the code more complex until it actually needs to be,
* Fix for rezzing and derezzing HUDs (see Mantis #5406). From now on updates ↵Snoopy Pfeffer2011-09-251-1/+5
| | | | are only sent to affected clients.
* Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)2011-09-221-1/+1
| | | | This is moved into ScenePresence for now as a general facility
* refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)2011-09-151-12/+8
| | | | | | reflect what it actually does This also makes it consistent with some other methods that send data to the client.
* Go back to resetting the State parameter for all parts of a SOG when ↵Justin Clark-Casey (justincc)2011-09-021-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 != nullJustin Clark-Casey (justincc)2011-09-011-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 ISceneEntityJustin Clark-Casey (justincc)2011-08-301-2/+5
|
* Eliminate duplicate AttachmentPoint properties by always using the one ↵Justin Clark-Casey (justincc)2011-08-271-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-271-25/+19
| | | | pointless duplication of identical values
* refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-261-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-261-40/+6
| | | | AttachmentsModule.DetachSceneObjectToGround() and remove redundant code
* refactor: move sog.DetachToInventoryPrep() into ↵Justin Clark-Casey (justincc)2011-08-261-28/+4
| | | | AttachmentsModule.DetachSingleAttachmentToInv()
* refactor: simplify EntityBase.IsDeleted propertyJustin Clark-Casey (justincc)2011-08-241-3/+3
|
* 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
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-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-051-9/+13
| | | | not yet complete.
* refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)2011-08-031-1/+1
| | | | consistent with terminology used by scene object part and elsewhere
* get rid of vestigal move to parametersJustin Clark-Casey (justincc)2011-08-031-1/+1
|
* Partially fix autopilot/go hereJustin Clark-Casey (justincc)2011-08-021-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-191-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-191-2/+2
| | | | consistency
* comment out all kinds of debugging guffJustin Clark-Casey (justincc)2011-07-191-15/+15
|
* Fix undo for rotation of the root prim in a linkset on its own.Justin Clark-Casey (justincc)2011-07-191-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 linksetJustin Clark-Casey (justincc)2011-07-191-3/+5
|
* Fix undo of prim group rotation.Justin Clark-Casey (justincc)2011-07-191-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 linksetJustin Clark-Casey (justincc)2011-07-191-3/+5
| | | | undo resize, rotation and position still needs fixing when only editing root prim of a linkset
* Fix undo for resizing linksetsJustin Clark-Casey (justincc)2011-07-191-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-181-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-161-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-161-21/+5
|
* refactor: Push all part resize code down into SceneObjectPart.Resize()Justin Clark-Casey (justincc)2011-07-161-50/+0
|
* refactor: make SceneObjectGroup.GroupScale() a property rather than a mehodJustin Clark-Casey (justincc)2011-07-161-29/+32
|
* eliminate unused and redundant SceneObjectGroup.AssetReceived()Justin Clark-Casey (justincc)2011-07-161-17/+0
|
* fix build break from last commitJustin Clark-Casey (justincc)2011-07-161-1/+1
|
* remove the need to supply SceneObjectGroup.GroupResize() with a localId.Justin Clark-Casey (justincc)2011-07-161-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 primJustin Clark-Casey (justincc)2011-07-161-1/+2
|
* If resized shape is a mesh/sculpt, leave it to the mesh asset callback to ↵Justin Clark-Casey (justincc)2011-07-161-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 resizedJustin Clark-Casey (justincc)2011-07-161-0/+12
| | | | Addresses http://opensimulator.org/mantis/view.php?id=5584
* Fix some local id issues in physics glueroot2011-07-151-2/+2
|
* fix duplication of physical objects for physics engines that care about the ↵Robert Adams2011-07-151-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-121-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-111-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-111-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 readableJustin Clark-Casey (justincc)2011-07-111-6/+8
|
* Add localID to physical object creation functions.Mic Bowman2011-06-151-1/+1
|
* Add the PhysActor to the correct SOP when duplicating a physicalMic Bowman2011-06-151-4/+9
| | | | prim. Thanks, MisterBlue
* minor: Add some commented out destructor logging messages for potential ↵Justin Clark-Casey (justincc)2011-06-101-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 ifMelanie2011-05-241-1/+1
| | | | backup is not used.
* Minor correction to yesterday's changes. Make normal prim crossing (no ↵Diva Canto2011-04-291-2/+0
| | | | attach) work well again.