diff options
author | UbitUmarov | 2012-03-10 20:32:19 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-10 20:32:19 +0000 |
commit | 908abb1c3dded307e769abac71f660b835875975 (patch) | |
tree | 755d4e532a94346fe1960e3870f07767fbcfdd4a /OpenSim/Tests | |
parent | ubitOde bug (diff) | |
download | opensim-SC-908abb1c3dded307e769abac71f660b835875975.zip opensim-SC-908abb1c3dded307e769abac71f660b835875975.tar.gz opensim-SC-908abb1c3dded307e769abac71f660b835875975.tar.bz2 opensim-SC-908abb1c3dded307e769abac71f660b835875975.tar.xz |
BIG MESS. changed Iclient interface so only one event is used to inform scene about position scale or rotation change by client (others can be added). Its served at SceneGraph that does permition checks, undostore and sends down to SOG. changed values are stored in a class (ObjectChangeData) and what is changed as a enum (ObjectChangeWhat) with bit fields and 'macros' of this for better readability (at top of scenegraph.cs lasy to find better place for now) this can be extended for other things clients changes and need undo/redo. SOG process acording to what is changed. Changed UNDO/redo to use this also (warning is only storing what is changed, previus stored all, this must be checked for side efects. to save all PRS change commented line in scenegraph). Still have excessive calls to ScheduleGroupForTerseUpdate. **** UNTESTED ****
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index fa750ab..be6b81b 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -135,6 +135,7 @@ namespace OpenSim.Tests.Common.Mock | |||
135 | public event GenericCall7 OnObjectMaterial; | 135 | public event GenericCall7 OnObjectMaterial; |
136 | public event UpdatePrimFlags OnUpdatePrimFlags; | 136 | public event UpdatePrimFlags OnUpdatePrimFlags; |
137 | public event UpdatePrimTexture OnUpdatePrimTexture; | 137 | public event UpdatePrimTexture OnUpdatePrimTexture; |
138 | public event ClientChangeObject onClientChangeObject; | ||
138 | public event UpdateVector OnUpdatePrimGroupPosition; | 139 | public event UpdateVector OnUpdatePrimGroupPosition; |
139 | public event UpdateVector OnUpdatePrimSinglePosition; | 140 | public event UpdateVector OnUpdatePrimSinglePosition; |
140 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 141 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |