瀏覽代碼

fix bug with polysets attached to lods

David Rose 16 年之前
父節點
當前提交
06005cc440
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/egg2pg/eggLoader.cxx

+ 1 - 1
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())) {