add compiler define NET48 to the .net4.8 xml

This commit is contained in:
UbitUmarov
2022-03-30 15:02:18 +01:00
parent 667a18161b
commit a68b8acba3
2 changed files with 4 additions and 4 deletions

View File

@@ -518,8 +518,8 @@ namespace OpenSim.Framework
for (int yy = 0; yy < SizeY; yy++)
for (int xx = 0; xx < SizeX; xx++)
{
// reduce to 1cm resolution
float val = (float)Math.Round(m_heightmap[xx, yy],2,MidpointRounding.ToEven);
// reduce to 1mm resolution
float val = (float)Math.Round(m_heightmap[xx, yy],3,MidpointRounding.AwayFromZero);
bw.Write(val);
}
}

View File

@@ -3,7 +3,7 @@
<Solution activeConfig="Debug" name="OpenSim" path="./" version="0.5.0-$Rev$">
<Configuration name="Debug" >
<Options>
<CompilerDefines>TRACE;DEBUG</CompilerDefines>
<CompilerDefines>TRACE;DEBUG;NET48</CompilerDefines>
<OptimizeCode>false</OptimizeCode>
<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
<AllowUnsafe>true</AllowUnsafe>
@@ -19,7 +19,7 @@
</Configuration>
<Configuration name="Release">
<Options>
<CompilerDefines>TRACE</CompilerDefines>
<CompilerDefines>TRACE;NET48</CompilerDefines>
<OptimizeCode>true</OptimizeCode>
<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
<AllowUnsafe>true</AllowUnsafe>