aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-19Fix undo for resizing linksetsJustin Clark-Casey (justincc)4-41/+85
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.
2011-07-19remove undo state storage in a few places where it's pointlessJustin Clark-Casey (justincc)2-5/+1
no functional effect - existing bugs still remain
2011-07-18Make various tweaks to undo code in an effort to get things working better.Justin Clark-Casey (justincc)6-56/+217
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.
2011-07-18use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack.Justin Clark-Casey (justincc)1-1/+1
remove OpenSim.Framework.UndoStack
2011-07-18Use a standard generic system stack for the undo/redo stacks instead of our ↵Justin Clark-Casey (justincc)2-2/+16
own homebrew. system stack also uses an array, so no performance penalty. Also exposes undo count and adds a test assertion for correct undo count after resize
2011-07-18refactor: group all the undo/redo code in SOP into one place for easier code ↵Justin Clark-Casey (justincc)1-59/+62
reading
2011-07-16Replace ifs in SOG.GroupResize() with Math.Min()Justin Clark-Casey (justincc)3-14/+25
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.
2011-07-16remove now unncessary parts of SceneObjectGroup.Resize()Justin Clark-Casey (justincc)1-21/+5
2011-07-16refactor: replace scale limiting code with more elegant Math.Min callsJustin Clark-Casey (justincc)1-12/+6
2011-07-16refactor: Push all part resize code down into SceneObjectPart.Resize()Justin Clark-Casey (justincc)4-56/+32
2011-07-16add test for resizing one part in a groupJustin Clark-Casey (justincc)2-1/+36
2011-07-16refactor: make SceneObjectGroup.GroupScale() a property rather than a mehodJustin Clark-Casey (justincc)2-33/+38
2011-07-16minor: add a log warning if a sculpt/mesh async asset request returns no dataJustin Clark-Casey (justincc)1-0/+4
2011-07-16refactor: remove pointless sender != null tests, etc, in AssetReceived, ↵Justin Clark-Casey (justincc)1-6/+9
since the method called always belongs to the object that generated the request
2011-07-16eliminate unused and redundant SceneObjectGroup.AssetReceived()Justin Clark-Casey (justincc)1-17/+0
2011-07-16fix build break from last commitJustin Clark-Casey (justincc)1-1/+1
2011-07-16Eliminate the pointless textured id argument to SculptTextureCallbackJustin Clark-Casey (justincc)1-15/+6
2011-07-16minor: remove mono compiler warningsJustin Clark-Casey (justincc)3-4/+7
2011-07-16remove the need to supply SceneObjectGroup.GroupResize() with a localId.Justin Clark-Casey (justincc)3-132/+133
This is utterly pointless scene we already know which sog we're dealing with.
2011-07-16Add very basic test for resizing a scene object with one primJustin Clark-Casey (justincc)2-1/+69
2011-07-16If resized shape is a mesh/sculpt, leave it to the mesh asset callback to ↵Justin Clark-Casey (justincc)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.
2011-07-16Fix physics proxy regeneration when a mesh with more than one submesh is resizedJustin Clark-Casey (justincc)4-2/+25
Addresses http://opensimulator.org/mantis/view.php?id=5584
2011-07-16use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)1-22/+21
2011-07-15change async parameter name in AddLocalPacketHandler since it becomes a ↵Justin Clark-Casey (justincc)1-2/+22
reserved keyword in .net 5 Also adds some method doc.
2011-07-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)2-2/+16
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-15minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)2-3/+17
2011-07-15Fix some local id issues in physics glueroot10-68/+36
2011-07-15fix duplication of physical objects for physics engines that care about the ↵Robert Adams1-6/+6
initial value of localID
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)2-5/+6
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-13Add experimental module to check status of services that the simulator is ↵Justin Clark-Casey (justincc)1-0/+119
connected to. Currently disabled.
2011-07-12Add a warning to URI config in GridCommon.ini.example not to add a slash to ↵Justin Clark-Casey (justincc)1-1/+0
the end. Tidy up GridCommon.ini.example
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)6-33/+298
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-12temporarily fix the build break with building the OdePlugin tests assembly.Justin Clark-Casey (justincc)1-2/+3
This needs to be fixed properly.
2011-07-12minor: remove whitespace to trigger another buildJustin Clark-Casey (justincc)1-1/+0
2011-07-12When a mesh object is added to a scene, delay adding the physics actor until ↵Justin Clark-Casey (justincc)5-29/+39
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.
2011-07-11Fix permissions problem where newly uploaded meshes rezzed from inventory ↵Justin Clark-Casey (justincc)3-8/+4
could not be copied by owner.
2011-07-11minor Tack the prim name on the end of the "experimental mesh proxy ↵Justin Clark-Casey (justincc)1-1/+1
generation" message. Can probably comment out this message soon, once a few other issues are tidied up.
2011-07-11Properly regenerate physics proxy when a mesh is resized.Justin Clark-Casey (justincc)1-0/+8
This is done in SOP.Resize(). More common code from callers needs to be refactored into this method to reduce confusing copy/pasting
2011-07-11refactor: push the part of SceneObjectGroup.CheckSculptAndLoad() that ↵Justin Clark-Casey (justincc)2-17/+49
actually deals with the part into a SceneObjectPart.CheckSculptAndLoad() method
2011-07-11When a sculpt/mesh texture is received by a part on a callback request, ↵Justin Clark-Casey (justincc)5-11/+26
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.
2011-07-11comment out accidential ProcessTaints physics debug line left in codeJustin Clark-Casey (justincc)1-1/+1
2011-07-11refactor: Make arguments to SceneGraph.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-6/+11
2011-07-11refactor: Make arguments for SceneObjectGroup.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-6/+8
2011-07-11minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-07-11refactor: very minor space insertionJustin Clark-Casey (justincc)1-1/+1
2011-07-11refactor: make argument to SOP.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-14/+19
2011-07-09refactor: slightly simplify testJustin Clark-Casey (justincc)1-4/+1
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)7-8/+8
effects and return object
2011-07-09Add scratch AvatarFactoryModuleTests with one test to do a partial check on ↵Justin Clark-Casey (justincc)2-9/+87
AvatarFactoryModule.SetAppearance() Baked texture set not yet checked, nor persistence of data in avatar service This is a foundation for later npc related tests.
2011-07-09refactor: Get LSLString(LSLInteger i) constructor to now call LSLString(int ↵Justin Clark-Casey (justincc)1-9/+7
i) structure to remove code duplication.