From 06005cc4400cdcd27ff7e16baa89957b4c36a213 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 8 Jul 2009 22:25:26 +0000 Subject: [PATCH] fix bug with polysets attached to lods --- panda/src/egg2pg/eggLoader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/egg2pg/eggLoader.cxx b/panda/src/egg2pg/eggLoader.cxx index d2cb269056..659e77e171 100644 --- a/panda/src/egg2pg/eggLoader.cxx +++ b/panda/src/egg2pg/eggLoader.cxx @@ -1584,7 +1584,7 @@ separate_switches(EggNode *egg_node) { bool parent_has_switch = false; if (egg_node->is_of_type(EggGroup::get_class_type())) { EggGroup *egg_group = DCAST(EggGroup, egg_node); - parent_has_switch = egg_group->get_switch_flag() || egg_group->has_lod(); + parent_has_switch = egg_group->get_switch_flag(); } if (egg_node->is_of_type(EggGroupNode::get_class_type())) {