Fix the terrain heightmap load from images (tested PNG and GIF).

This commit is contained in:
Dalien Talbot
2007-09-13 13:09:14 +00:00
parent af6c9d355d
commit 7a9f5ed6b3

View File

@@ -463,7 +463,8 @@ namespace OpenSim.Region.Terrain
break;
case "img":
heightmap.LoadImage(filenameL);
heightmap = heightmap.LoadImage(filenameL);
tainted++;
break;
default: