minor: add a log warning if a sculpt/mesh async asset request returns no data

bulletsim
Justin Clark-Casey (justincc) 2011-07-16 03:24:36 +01:00
parent 6f9b855719
commit 0f9882db5b
1 changed files with 4 additions and 0 deletions

View File

@ -1736,6 +1736,10 @@ namespace OpenSim.Region.Framework.Scenes
{
if (asset != null)
SculptTextureCallback(asset);
else
m_log.WarnFormat(
"[SCENE OBJECT PART]: Part {0} {1} requested mesh/sculpt data for asset id {2} from asset service but received no data",
Name, LocalId, id);
}
public static SceneObjectPart Create()