aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/UndoState.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-131/+236
|
* Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-4/+2
| | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* Partially fix autopilot/go hereJustin Clark-Casey (justincc)2011-08-021-1/+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.
* refator: simplify UndoState.Compare() codeJustin Clark-Casey (justincc)2011-07-191-20/+9
|
* rip out pointless null checks in UndoState where part can never be nullJustin Clark-Casey (justincc)2011-07-191-81/+72
|
* Fix undo when changing just the root prim's position in a linkset.Justin Clark-Casey (justincc)2011-07-191-4/+4
| | | | | | 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.
* comment out all kinds of debugging guffJustin Clark-Casey (justincc)2011-07-191-18/+18
|
* Fix undo for rotation of the root prim in a linkset on its own.Justin Clark-Casey (justincc)2011-07-191-2/+4
| | | | 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-6/+6
|
* Fix undo of prim group rotation.Justin Clark-Casey (justincc)2011-07-191-16/+19
| | | | | 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
* Stop undo of just the root prim position in the linkset from shifting the ↵Justin Clark-Casey (justincc)2011-07-191-2/+9
| | | | | | 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 for resizing linksetsJustin Clark-Casey (justincc)2011-07-191-4/+20
| | | | | | 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-6/+87
| | | | | | | 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.
* Revolution is on the roll again! :)Revolution2010-02-141-16/+63
| | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
* Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.Melanie Thielker2009-06-241-2/+2
| | | | | | | This may fix the Mantii where individual prims ctrl-z to nirvana, but it's not tested.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-0/+116
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!