mirror of
https://github.com/opensim/opensim.git
synced 2026-06-05 02:15:38 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -113,7 +113,7 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
|
||||
int width, int height, bool usetex)
|
||||
{
|
||||
if (!m_Enabled)
|
||||
return new Byte[0];
|
||||
return Array.Empty<byte>();
|
||||
|
||||
using (Bitmap bmp = m_Generator.CreateViewImage(pos, rot, fov, width, height, usetex))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user