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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user