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/Region/OptionalModules/World/NPC | |
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/Region/OptionalModules/World/NPC')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d0b822c..96f33a5 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -240,6 +240,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
240 | public event UpdatePrimTexture OnUpdatePrimTexture; | 240 | public event UpdatePrimTexture OnUpdatePrimTexture; |
241 | public event UpdateVector OnUpdatePrimGroupPosition; | 241 | public event UpdateVector OnUpdatePrimGroupPosition; |
242 | public event UpdateVector OnUpdatePrimSinglePosition; | 242 | public event UpdateVector OnUpdatePrimSinglePosition; |
243 | public event ClientChangeObject onClientChangeObject; | ||
243 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 244 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
244 | public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; | 245 | public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; |
245 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; | 246 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; |