aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-20Removed unused AddPrimShape methods in PhysicsScene caused by merge conflictsDan Lake1-14/+0
2011-07-19Apply the localID to the Physics actor to prevent null calls laterCareminster Team1-3/+3
2011-07-19Tidy up a superfluous AddPrimShape override in PhysicsSceneCareminster Team1-1/+0
2011-07-19On all undo/redo operations, consistently lock the undo object for ↵Justin Clark-Casey (justincc)1-5/+1
everything, in order to avoid any deadlock issues.
2011-07-19If we store an undo, wipe anything already present on the redo stackJustin Clark-Casey (justincc)1-0/+3
This stops problems when we undo a few steps and start off down another path. Surprisingly, apart from this now fixed problem, redo appears to be working too.
2011-07-19stop redo throwing an exception if there is nothing to redoJustin Clark-Casey (justincc)1-10/+13
2011-07-19refator: simplify UndoState.Compare() codeJustin Clark-Casey (justincc)1-20/+9
2011-07-19rip out pointless null checks in UndoState where part can never be nullJustin Clark-Casey (justincc)1-81/+72
2011-07-19Fix undo when changing just the root prim's position in a linkset.Justin Clark-Casey (justincc)3-9/+11
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.
2011-07-19refactor: rename UpdatePrimPosition() to UpdatePrimGroupPosition() for ↵Justin Clark-Casey (justincc)3-6/+6
consistency
2011-07-19comment out all kinds of debugging guffJustin Clark-Casey (justincc)4-44/+44
2011-07-19Fix undo for rotation of the root prim in a linkset on its own.Justin Clark-Casey (justincc)2-8/+15
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.
2011-07-19Fix undo of rotation of single prims in a linksetJustin Clark-Casey (justincc)2-9/+11
2011-07-19Fix undo of prim group rotation.Justin Clark-Casey (justincc)3-24/+34
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
2011-07-19Rename UpdatePrimRotation() to UpdatePrimGroupRotation() since this is what ↵Justin Clark-Casey (justincc)2-7/+11
it actually does and is more consistent with other method names.
2011-07-19Stop undo of just the root prim position in the linkset from shifting the ↵Justin Clark-Casey (justincc)4-14/+20
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.
2011-07-19fix undo when resizing of non-root individual prims in a linksetJustin Clark-Casey (justincc)3-4/+11
undo resize, rotation and position still needs fixing when only editing root prim of a linkset
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)2-153/+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)3-3/+55
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-16refactor: Pull up Assembly of the SQLite classes as a protected property, so ↵Marck6-11/+32
that it can be overwritten in subclasses. That way extensions can decide in which assembly migration resources should be looked up. This is a refactor similar to commit 9923a2ff1002d722ccebea8bf4d71718ed4e2a03 for MySQL -- no functional changes.
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)3-2/+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-16minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-35/+36
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-13minor: remove whitespaceJustin Clark-Casey (justincc)1-1/+0
2011-07-13Remove an unused 404 checker since on a 404, GetResponse() throws a ↵Justin Clark-Casey (justincc)1-3/+0
WebException rather than proceeding.
2011-07-13if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵Justin Clark-Casey (justincc)1-0/+11
404, log the exception for diagnostic purposes This is instead of logging "Invalid XML" for all failures, even if they weren't a result of invalid xml. A default TReponse is returned in the event of a 404, which is the same behaviour as previously.