Typo fixes
parent
b0b4782a2b
commit
d0c271adc6
|
@ -71,7 +71,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private bool cacheSculptMaps = true;
|
private bool cacheSculptMaps = true;
|
||||||
private string decodedScultMapPath = null;
|
private string decodedSculptMapPath = null;
|
||||||
|
|
||||||
private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh
|
private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh
|
||||||
|
|
||||||
|
@ -81,16 +81,16 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
{
|
{
|
||||||
IConfig start_config = config.Configs["Startup"];
|
IConfig start_config = config.Configs["Startup"];
|
||||||
|
|
||||||
decodedScultMapPath = start_config.GetString("DecodedSculpMapPath","j2kDecodeCache");
|
decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!Directory.Exists(decodedScultMapPath))
|
if (!Directory.Exists(decodedSculptMapPath))
|
||||||
Directory.CreateDirectory(decodedScultMapPath);
|
Directory.CreateDirectory(decodedSculptMapPath);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedScultMapPath, e.Message);
|
m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedSculptMapPath, e.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -265,7 +265,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
{
|
{
|
||||||
if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero)
|
if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero)
|
||||||
{
|
{
|
||||||
decodedSculptFileName = System.IO.Path.Combine(decodedScultMapPath, "smap_" + primShape.SculptTexture.ToString());
|
decodedSculptFileName = System.IO.Path.Combine(decodedSculptMapPath, "smap_" + primShape.SculptTexture.ToString());
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (File.Exists(decodedSculptFileName))
|
if (File.Exists(decodedSculptFileName))
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
{
|
{
|
||||||
IConfigSource TopConfig = new IniConfigSource();
|
IConfigSource TopConfig = new IniConfigSource();
|
||||||
IConfig config = TopConfig.AddConfig("Startup");
|
IConfig config = TopConfig.AddConfig("Startup");
|
||||||
config.Set("DecodedSculpMapPath","j2kDecodeCache");
|
config.Set("DecodedSculptMapPath","j2kDecodeCache");
|
||||||
|
|
||||||
// Loading ODEPlugin
|
// Loading ODEPlugin
|
||||||
cbt = new OdePlugin();
|
cbt = new OdePlugin();
|
||||||
|
|
Loading…
Reference in New Issue