mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Stop AgentCircuitData.Viewer.get() from throwing an error if no Viewer has been set.
Continue to return null instead.
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenSim.Framework
|
||||
get
|
||||
{
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user