Stop AgentCircuitData.Viewer.get() from throwing an error if no Viewer has been set.
Continue to return null instead.link-sitting
parent
9ba5a7e190
commit
b71952df49
|
@ -142,7 +142,7 @@ namespace OpenSim.Framework
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
// Old style version string contains viewer name followed by a space followed by a version number
|
// Old style version string contains viewer name followed by a space followed by a version number
|
||||||
if (ViewerInternal.Contains(" "))
|
if (ViewerInternal == null || ViewerInternal.Contains(" "))
|
||||||
{
|
{
|
||||||
return ViewerInternal;
|
return ViewerInternal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue