From a09a538878d140f4fd3093b64f9d01c62cf393f1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 25 Sep 2008 20:58:07 +0000 Subject: [PATCH] fix compilation errors --- panda/src/grutil/geoMipTerrain.I | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/grutil/geoMipTerrain.I b/panda/src/grutil/geoMipTerrain.I index 90a6597e8d..c0840aebae 100644 --- a/panda/src/grutil/geoMipTerrain.I +++ b/panda/src/grutil/geoMipTerrain.I @@ -464,7 +464,7 @@ set_heightfield(const PNMImage &image) { } INLINE bool GeoMipTerrain:: set_heightfield(const string &path) { - set_heightfield(Filename(path)); + return set_heightfield(Filename(path)); } //////////////////////////////////////////////////////////////////// @@ -500,7 +500,7 @@ set_color_map(const Texture *tex) { } INLINE bool GeoMipTerrain:: set_color_map(const string &path) { - set_heightfield(Filename(path)); + return set_heightfield(Filename(path)); } ////////////////////////////////////////////////////////////////////