Stop AgentCircuitData.Viewer.get() from throwing an error if no Viewer has been set.

Continue to return null instead.
link-sitting
Justin Clark-Casey (justincc) 2013-11-19 23:36:44 +00:00
parent 9ba5a7e190
commit b71952df49
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }