diff options
author | Justin Clark-Casey (justincc) | 2011-07-16 03:24:36 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-16 03:24:36 +0100 |
commit | 0f9882db5b6708864924218f713863ff7b9ded47 (patch) | |
tree | fe899ecbcdb8b35e94ad089c7a9791cb9842e626 /OpenSim | |
parent | refactor: remove pointless sender != null tests, etc, in AssetReceived, since... (diff) | |
download | opensim-SC-0f9882db5b6708864924218f713863ff7b9ded47.zip opensim-SC-0f9882db5b6708864924218f713863ff7b9ded47.tar.gz opensim-SC-0f9882db5b6708864924218f713863ff7b9ded47.tar.bz2 opensim-SC-0f9882db5b6708864924218f713863ff7b9ded47.tar.xz |
minor: add a log warning if a sculpt/mesh async asset request returns no data
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 697dd0e..5035317 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1736,6 +1736,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1736 | { | 1736 | { |
1737 | if (asset != null) | 1737 | if (asset != null) |
1738 | SculptTextureCallback(asset); | 1738 | SculptTextureCallback(asset); |
1739 | else | ||
1740 | m_log.WarnFormat( | ||
1741 | "[SCENE OBJECT PART]: Part {0} {1} requested mesh/sculpt data for asset id {2} from asset service but received no data", | ||
1742 | Name, LocalId, id); | ||
1739 | } | 1743 | } |
1740 | 1744 | ||
1741 | public static SceneObjectPart Create() | 1745 | public static SceneObjectPart Create() |