LIBOMV-585 Re-implements ObjectSelect trigger when we receive a primitive with the CreateSelected flag set.

* Fixed NullReference exception in TestClient PrimInfoCommand which was being thrown when a primitive was sent with no light data.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3011 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2009-07-21 23:53:01 +00:00
parent 25aef9f879
commit 0c0a29cf73
2 changed files with 8 additions and 1 deletions

View File

@@ -27,7 +27,8 @@ namespace OpenMetaverse.TestClient
if (target != null)
{
Logger.Log("Light: " + target.Light.ToString(), Helpers.LogLevel.Info, Client);
if(target.Light != null)
Logger.Log("Light: " + target.Light.ToString(), Helpers.LogLevel.Info, Client);
if (target.ParticleSys.CRC != 0)
Logger.Log("Particles: " + target.ParticleSys.ToString(), Helpers.LogLevel.Info, Client);