minor: Simplify return of vector render module name and some very minor removal of unncessary syntax clutter

0.7.4-extended
Justin Clark-Casey (justincc) 2012-08-27 23:06:37 +01:00
parent 2602d4f16e
commit 536f2c085a
1 changed files with 3 additions and 4 deletions

View File

@ -47,7 +47,6 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private string m_name = "VectorRenderModule";
private Scene m_scene; private Scene m_scene;
private IDynamicTextureManager m_textureManager; private IDynamicTextureManager m_textureManager;
private Graphics m_graph; private Graphics m_graph;
@ -61,12 +60,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
public string GetContentType() public string GetContentType()
{ {
return ("vector"); return "vector";
} }
public string GetName() public string GetName()
{ {
return m_name; return Name;
} }
public bool SupportsAsynchronous() public bool SupportsAsynchronous()
@ -152,7 +151,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
public string Name public string Name
{ {
get { return m_name; } get { return "VectorRenderModule"; }
} }
public bool IsSharedModule public bool IsSharedModule