diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs index 4efcd3b..03e2c5a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs | |||
@@ -42,11 +42,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures | |||
42 | { | 42 | { |
43 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "GesturesModule")] | 43 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "GesturesModule")] |
44 | public class GesturesModule : INonSharedRegionModule | 44 | public class GesturesModule : INonSharedRegionModule |
45 | { | 45 | { |
46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 47 | ||
48 | protected Scene m_scene; | 48 | protected Scene m_scene; |
49 | 49 | ||
50 | public void Initialise(IConfigSource source) | 50 | public void Initialise(IConfigSource source) |
51 | { | 51 | { |
52 | } | 52 | } |
@@ -67,7 +67,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures | |||
67 | m_scene.EventManager.OnNewClient -= OnNewClient; | 67 | m_scene.EventManager.OnNewClient -= OnNewClient; |
68 | m_scene = null; | 68 | m_scene = null; |
69 | } | 69 | } |
70 | 70 | ||
71 | public void Close() {} | 71 | public void Close() {} |
72 | public string Name { get { return "Gestures Module"; } } | 72 | public string Name { get { return "Gestures Module"; } } |
73 | 73 | ||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures | |||
81 | client.OnActivateGesture += ActivateGesture; | 81 | client.OnActivateGesture += ActivateGesture; |
82 | client.OnDeactivateGesture += DeactivateGesture; | 82 | client.OnDeactivateGesture += DeactivateGesture; |
83 | } | 83 | } |
84 | 84 | ||
85 | public virtual void ActivateGesture(IClientAPI client, UUID assetId, UUID gestureId) | 85 | public virtual void ActivateGesture(IClientAPI client, UUID assetId, UUID gestureId) |
86 | { | 86 | { |
87 | IInventoryService invService = m_scene.InventoryService; | 87 | IInventoryService invService = m_scene.InventoryService; |
@@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures | |||
92 | item.Flags |= 1; | 92 | item.Flags |= 1; |
93 | invService.UpdateItem(item); | 93 | invService.UpdateItem(item); |
94 | } | 94 | } |
95 | else | 95 | else |
96 | m_log.WarnFormat( | 96 | m_log.WarnFormat( |
97 | "[GESTURES]: Unable to find gesture {0} to activate for {1}", gestureId, client.Name); | 97 | "[GESTURES]: Unable to find gesture {0} to activate for {1}", gestureId, client.Name); |
98 | } | 98 | } |
@@ -107,7 +107,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures | |||
107 | item.Flags &= ~(uint)1; | 107 | item.Flags &= ~(uint)1; |
108 | invService.UpdateItem(item); | 108 | invService.UpdateItem(item); |
109 | } | 109 | } |
110 | else | 110 | else |
111 | m_log.ErrorFormat( | 111 | m_log.ErrorFormat( |
112 | "[GESTURES]: Unable to find gesture to deactivate {0} for {1}", gestureId, client.Name); | 112 | "[GESTURES]: Unable to find gesture to deactivate {0} for {1}", gestureId, client.Name); |
113 | } | 113 | } |