Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop undo of just the root prim position in the linkset from shifting the ↵ | Justin Clark-Casey (justincc) | 2011-07-19 | 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. | ||||
* | fix undo when resizing of non-root individual prims in a linkset | Justin Clark-Casey (justincc) | 2011-07-19 | 3 | -4/+11 |
| | | | | 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 | 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. | ||||
* | remove undo state storage in a few places where it's pointless | Justin Clark-Casey (justincc) | 2011-07-19 | 2 | -5/+1 |
| | | | | no functional effect - existing bugs still remain | ||||
* | Make various tweaks to undo code in an effort to get things working better. | Justin Clark-Casey (justincc) | 2011-07-18 | 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. | ||||
* | use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack. | Justin Clark-Casey (justincc) | 2011-07-18 | 2 | -153/+1 |
| | | | | remove OpenSim.Framework.UndoStack | ||||
* | Use a standard generic system stack for the undo/redo stacks instead of our ↵ | Justin Clark-Casey (justincc) | 2011-07-18 | 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 | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2011-07-18 | 6 | -11/+32 |
|\ | |||||
| * | refactor: Pull up Assembly of the SQLite classes as a protected property, so ↵ | Marck | 2011-07-16 | 6 | -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. | ||||
* | | refactor: group all the undo/redo code in SOP into one place for easier code ↵ | Justin Clark-Casey (justincc) | 2011-07-18 | 1 | -59/+62 |
|/ | | | | reading | ||||
* | Replace ifs in SOG.GroupResize() with Math.Min() | Justin Clark-Casey (justincc) | 2011-07-16 | 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. | ||||
* | remove now unncessary parts of SceneObjectGroup.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -21/+5 |
| | |||||
* | refactor: replace scale limiting code with more elegant Math.Min calls | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -12/+6 |
| | |||||
* | refactor: Push all part resize code down into SceneObjectPart.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 4 | -56/+32 |
| | |||||
* | add test for resizing one part in a group | Justin Clark-Casey (justincc) | 2011-07-16 | 3 | -2/+36 |
| | |||||
* | refactor: make SceneObjectGroup.GroupScale() a property rather than a mehod | Justin Clark-Casey (justincc) | 2011-07-16 | 2 | -33/+38 |
| | |||||
* | minor: add a log warning if a sculpt/mesh async asset request returns no data | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -0/+4 |
| | |||||
* | refactor: remove pointless sender != null tests, etc, in AssetReceived, ↵ | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -6/+9 |
| | | | | since the method called always belongs to the object that generated the request | ||||
* | 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 |
| | |||||
* | Eliminate the pointless textured id argument to SculptTextureCallback | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -15/+6 |
| | |||||
* | minor: remove mono compiler warnings | Justin Clark-Casey (justincc) | 2011-07-16 | 3 | -4/+7 |
| | |||||
* | remove the need to supply SceneObjectGroup.GroupResize() with a localId. | Justin Clark-Casey (justincc) | 2011-07-16 | 3 | -132/+133 |
| | | | | 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 | 2 | -1/+69 |
| | |||||
* | minor: remove mono compiler warnings | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -35/+36 |
| | |||||
* | 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 | 4 | -2/+25 |
| | | | | Addresses http://opensimulator.org/mantis/view.php?id=5584 | ||||
* | use constants in llGetObjectDetails() rather than magic numbers | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -22/+21 |
| | |||||
* | change async parameter name in AddLocalPacketHandler since it becomes a ↵ | Justin Clark-Casey (justincc) | 2011-07-15 | 1 | -2/+22 |
| | | | | | | reserved keyword in .net 5 Also adds some method doc. | ||||
* | If object is an attachment, make llGetVel() return the avatar's speed rather ↵ | Justin Clark-Casey (justincc) | 2011-07-15 | 2 | -2/+16 |
| | | | | | | than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575 | ||||
* | minor: method doc for baked texture uploading | Justin Clark-Casey (justincc) | 2011-07-15 | 2 | -3/+17 |
| | |||||
* | Fix some local id issues in physics glue | root | 2011-07-15 | 10 | -68/+36 |
| | |||||
* | fix duplication of physical objects for physics engines that care about the ↵ | Robert Adams | 2011-07-15 | 1 | -6/+6 |
| | | | | initial value of localID | ||||
* | minor: remove whitespace | Justin Clark-Casey (justincc) | 2011-07-13 | 1 | -1/+0 |
| | |||||
* | Remove an unused 404 checker since on a 404, GetResponse() throws a ↵ | Justin Clark-Casey (justincc) | 2011-07-13 | 1 | -3/+0 |
| | | | | WebException rather than proceeding. | ||||
* | if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵ | Justin Clark-Casey (justincc) | 2011-07-13 | 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. | ||||
* | Remove the obsoleted SynchronousRestObjectPoster | Justin Clark-Casey (justincc) | 2011-07-13 | 1 | -9/+0 |
| | |||||
* | refactor: Move all callers of the obsoleted ↵ | Justin Clark-Casey (justincc) | 2011-07-13 | 3 | -10/+9 |
| | | | | SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest() | ||||
* | Add experimental module to check status of services that the simulator is ↵ | Justin Clark-Casey (justincc) | 2011-07-13 | 1 | -0/+119 |
| | | | | | | connected to. Currently disabled. | ||||
* | Add a warning to URI config in GridCommon.ini.example not to add a slash to ↵ | Justin Clark-Casey (justincc) | 2011-07-12 | 2 | -19/+18 |
| | | | | | | the end. Tidy up GridCommon.ini.example | ||||
* | Port implementation of llCastRay() from Aurora. | Justin Clark-Casey (justincc) | 2011-07-12 | 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. | ||||
* | temporarily fix the build break with building the OdePlugin tests assembly. | Justin Clark-Casey (justincc) | 2011-07-12 | 2 | -3/+4 |
| | | | | This needs to be fixed properly. | ||||
* | minor: remove whitespace to trigger another build | Justin Clark-Casey (justincc) | 2011-07-12 | 1 | -1/+0 |
| | |||||
* | Make OdePlugin tests build from their own directory rather than from the ↵ | Justin Clark-Casey (justincc) | 2011-07-12 | 1 | -9/+10 |
| | | | | | | | | | main OdePlugin directory I suspect the former arrangement was confusing nant since file changes didn't appear to be rebuilding properly Ode tests don't currently execute because Ode.NET can't pick up the native libode dll However, this appears to also have been the case before, and these tests weren't being included in the "nant test" suite anyway. Will need to fix some time. | ||||
* | When a mesh object is added to a scene, delay adding the physics actor until ↵ | Justin Clark-Casey (justincc) | 2011-07-12 | 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. | ||||
* | Fix permissions problem where newly uploaded meshes rezzed from inventory ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 3 | -8/+4 |
| | | | | could not be copied by owner. | ||||
* | minor Tack the prim name on the end of the "experimental mesh proxy ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -1/+1 |
| | | | | | | generation" message. Can probably comment out this message soon, once a few other issues are tidied up. | ||||
* | Properly regenerate physics proxy when a mesh is resized. | Justin Clark-Casey (justincc) | 2011-07-11 | 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 | ||||
* | refactor: push the part of SceneObjectGroup.CheckSculptAndLoad() that ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 2 | -17/+49 |
| | | | | 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 | 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. |