protected AssetBase CreateAsset(string assetIdStr, string name, string path, AssetType type)
{
AssetBase asset = new AssetBase(new UUID(assetIdStr), name, type, m_service.LibraryOwner);
if (!String.IsNullOrEmpty(path))
{
//MainConsole.Instance.InfoFormat("[ASSETS]: Loading: [{0}][{1}]", name, path);
LoadAsset(asset, path);
}
else
{
MainConsole.Instance.InfoFormat("[ASSETS]: Instantiated: [{0}]", name);
}
return asset;
}