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/BakedTextures/XBakesModule.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs b/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs index 6d97251..27e84b0 100644 --- a/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures | |||
53 | private UTF8Encoding enc = new UTF8Encoding(); | 53 | private UTF8Encoding enc = new UTF8Encoding(); |
54 | private string m_URL = String.Empty; | 54 | private string m_URL = String.Empty; |
55 | private static XmlSerializer m_serializer = new XmlSerializer(typeof(AssetBase)); | 55 | private static XmlSerializer m_serializer = new XmlSerializer(typeof(AssetBase)); |
56 | private static bool m_enabled = false; | 56 | private static bool m_enabled = false; |
57 | 57 | ||
58 | private static IServiceAuth m_Auth; | 58 | private static IServiceAuth m_Auth; |
59 | 59 | ||
@@ -64,18 +64,18 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures | |||
64 | return; | 64 | return; |
65 | 65 | ||
66 | m_URL = config.GetString("URL", String.Empty); | 66 | m_URL = config.GetString("URL", String.Empty); |
67 | if (m_URL == String.Empty) | 67 | if (m_URL == String.Empty) |
68 | return; | 68 | return; |
69 | 69 | ||
70 | m_enabled = true; | 70 | m_enabled = true; |
71 | 71 | ||
72 | m_Auth = ServiceAuth.Create(configSource, "XBakes"); | 72 | m_Auth = ServiceAuth.Create(configSource, "XBakes"); |
73 | } | 73 | } |
74 | 74 | ||
75 | public void AddRegion(Scene scene) | 75 | public void AddRegion(Scene scene) |
76 | { | 76 | { |
77 | if (!m_enabled) | 77 | if (!m_enabled) |
78 | return; | 78 | return; |
79 | 79 | ||
80 | // m_log.InfoFormat("[XBakes]: Enabled for region {0}", scene.RegionInfo.RegionName); | 80 | // m_log.InfoFormat("[XBakes]: Enabled for region {0}", scene.RegionInfo.RegionName); |
81 | m_Scene = scene; | 81 | m_Scene = scene; |
@@ -177,7 +177,7 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures | |||
177 | 177 | ||
178 | int numberWears = 0; | 178 | int numberWears = 0; |
179 | MemoryStream reqStream; | 179 | MemoryStream reqStream; |
180 | 180 | ||
181 | using (MemoryStream bakeStream = new MemoryStream()) | 181 | using (MemoryStream bakeStream = new MemoryStream()) |
182 | using (XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null)) | 182 | using (XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null)) |
183 | { | 183 | { |