remove terraindata abstraction layer, since we only have heightmap type

This commit is contained in:
UbitUmarov
2019-01-21 06:05:21 +00:00
parent a287a8e121
commit 33a062612f
13 changed files with 125 additions and 196 deletions

View File

@@ -91,7 +91,7 @@ namespace OpenSim.Region.CoreModules.Framework.DynamicAttributes.DAExampleModule
OSDMap attrs = null;
SceneObjectPart sop = m_scene.GetSceneObjectPart(groupId);
if (sop == null)
if (sop == null || sop.DynAttrs == null)
return true;
if (!sop.DynAttrs.TryGetStore(Namespace, StoreName, out attrs))

View File

@@ -99,6 +99,8 @@ namespace OpenSim.Region.Framework.DynamicAttributes.DOExampleModule
private void OnObjectAddedToScene(SceneObjectGroup so)
{
SceneObjectPart rootPart = so.RootPart;
if(rootPart.DynAttrs == null)
return;
OSDMap attrs;