Log warning if mesh/sculpt asset couldn't be found by ODEPrim.MeshAssetReceived() callback.

Presumably this is now more useful if the false positive from the old method of loading mesh assets have been eliminated.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-10-30 01:40:59 +00:00
parent 9bc4dc6c5f
commit ff6c69000e

View File

@@ -3364,6 +3364,12 @@ Console.WriteLine(" JointCreateFixed");
m_taintshape = true;
_parent_scene.AddPhysicsActorTaint(this);
}
else
{
m_log.WarnFormat(
"[ODE PRIM]: Could not get mesh/sculpt asset {0} for {1} at {2} in {3}",
_pbs.SculptTexture, Name, _position, _parent_scene.Name);
}
}
}
}