dont try to get objekt
parent
bd9124da1f
commit
a9f5e997ad
|
@ -67,11 +67,7 @@ namespace OpenSim.Modules.DataValue.Storage
|
|||
|
||||
private string getFilePath(String host, String index)
|
||||
{
|
||||
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(host);
|
||||
|
||||
if (_host != null)
|
||||
{
|
||||
string _nameSpace = _host.GroupID.ToString().Trim().ToUpper().Replace("-", "");
|
||||
string _nameSpace = host.Trim().ToUpper().Replace("-", "");
|
||||
|
||||
if (!Directory.Exists(m_dataValueDirectory))
|
||||
Directory.CreateDirectory(m_dataValueDirectory);
|
||||
|
@ -86,8 +82,5 @@ namespace OpenSim.Modules.DataValue.Storage
|
|||
|
||||
return m_dataValueDirectory + "/" + _nameSpace + "/" + _storageKey + ".txt";
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue