mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
add compiler define NET48 to the .net4.8 xml
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user