aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-27 23:06:37 +0100
committerJustin Clark-Casey (justincc)2012-08-27 23:06:37 +0100
commitab9bfe5156d955ca02b7cfcb0ccb5919f6b0743d (patch)
tree521993772b533da7b9c4bb9adb367abddddea976
parentAdd VectorRenderModule.TestRepeatSameDrawDifferentExtraParams() (diff)
downloadopensim-SC-ab9bfe5156d955ca02b7cfcb0ccb5919f6b0743d.zip
opensim-SC-ab9bfe5156d955ca02b7cfcb0ccb5919f6b0743d.tar.gz
opensim-SC-ab9bfe5156d955ca02b7cfcb0ccb5919f6b0743d.tar.bz2
opensim-SC-ab9bfe5156d955ca02b7cfcb0ccb5919f6b0743d.tar.xz
minor: Simplify return of vector render module name and some very minor removal of unncessary syntax clutter
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index c48a703..f988c0e 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -47,7 +47,6 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
47 { 47 {
48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
49 49
50 private string m_name = "VectorRenderModule";
51 private Scene m_scene; 50 private Scene m_scene;
52 private IDynamicTextureManager m_textureManager; 51 private IDynamicTextureManager m_textureManager;
53 private Graphics m_graph; 52 private Graphics m_graph;
@@ -61,12 +60,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
61 60
62 public string GetContentType() 61 public string GetContentType()
63 { 62 {
64 return ("vector"); 63 return "vector";
65 } 64 }
66 65
67 public string GetName() 66 public string GetName()
68 { 67 {
69 return m_name; 68 return Name;
70 } 69 }
71 70
72 public bool SupportsAsynchronous() 71 public bool SupportsAsynchronous()
@@ -152,7 +151,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
152 151
153 public string Name 152 public string Name
154 { 153 {
155 get { return m_name; } 154 get { return "VectorRenderModule"; }
156 } 155 }
157 156
158 public bool IsSharedModule 157 public bool IsSharedModule