Browse Source

workaround for lame gcc bug

David Rose 18 years ago
parent
commit
94bf0be822
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/lodNode.cxx

+ 1 - 1
panda/src/pgraph/lodNode.cxx

@@ -52,7 +52,7 @@ TypeHandle LODNode::_type_handle;
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 PT(LODNode) LODNode::
 PT(LODNode) LODNode::
 make_default_lod(const string &name) {
 make_default_lod(const string &name) {
-  switch (default_lod_type) {
+  switch (default_lod_type.get_value()) {
   case LNT_pop:
   case LNT_pop:
     return new LODNode(name);
     return new LODNode(name);