use objectPart
parent
df43e1bab5
commit
aae09109a9
|
@ -124,7 +124,7 @@ namespace OpenSim.Modules.DataValue
|
||||||
{
|
{
|
||||||
if(m_storage != null)
|
if(m_storage != null)
|
||||||
{
|
{
|
||||||
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(hostID);
|
SceneObjectPart _host = m_scene.GetSceneObjectPart(hostID);
|
||||||
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
||||||
|
|
||||||
if (_element != null)
|
if (_element != null)
|
||||||
|
@ -157,7 +157,7 @@ namespace OpenSim.Modules.DataValue
|
||||||
{
|
{
|
||||||
if (m_storage != null)
|
if (m_storage != null)
|
||||||
{
|
{
|
||||||
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(hostID);
|
SceneObjectPart _host = m_scene.GetSceneObjectPart(hostID);
|
||||||
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
||||||
|
|
||||||
if (_element != null)
|
if (_element != null)
|
||||||
|
@ -185,7 +185,7 @@ namespace OpenSim.Modules.DataValue
|
||||||
[ScriptInvocation]
|
[ScriptInvocation]
|
||||||
public void osDeleteDataValue(UUID hostID, UUID scriptID, string key, string value)
|
public void osDeleteDataValue(UUID hostID, UUID scriptID, string key, string value)
|
||||||
{
|
{
|
||||||
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(hostID);
|
SceneObjectPart _host = m_scene.GetSceneObjectPart(hostID);
|
||||||
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
||||||
|
|
||||||
checkRateLimit();
|
checkRateLimit();
|
||||||
|
@ -214,7 +214,7 @@ namespace OpenSim.Modules.DataValue
|
||||||
{
|
{
|
||||||
if (m_storage != null)
|
if (m_storage != null)
|
||||||
{
|
{
|
||||||
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(hostID);
|
SceneObjectPart _host = m_scene.GetSceneObjectPart(hostID);
|
||||||
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
StorageElement _element = m_cache.Find(X => X.Group == _host.GroupID.ToString() && X.Index == key);
|
||||||
|
|
||||||
if (_element != null)
|
if (_element != null)
|
||||||
|
|
Loading…
Reference in New Issue