From eb5a5a1856bbc40d4495b17602666431e26ade1d Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Thu, 24 Apr 2008 02:00:31 +0000 Subject: [PATCH] fixed a minor bug --- panda/src/grutil/geoMipTerrain.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/grutil/geoMipTerrain.cxx b/panda/src/grutil/geoMipTerrain.cxx index f8827512c5..3f08827e8e 100644 --- a/panda/src/grutil/geoMipTerrain.cxx +++ b/panda/src/grutil/geoMipTerrain.cxx @@ -455,12 +455,12 @@ root_flattened() { if (_blocks[tx][ty].get_node(1) != _root.node()) { grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled!\n"; return true; - total += 1; } + total += 1; } } if (total != _root.node()->get_num_children()) { - grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled!\n"; + grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled: " << total << " vs " << (_root.node()->get_num_children()) << "\n"; return true; }