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

integration
Justin Clark-Casey (justincc) 2012-08-27 23:06:37 +01:00
parent 4e26d039d6
commit ab9bfe5156
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