Procházet zdrojové kódy

yield more aggressively during flatten

David Rose před 17 roky
rodič
revize
c3d1efc07d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      panda/src/pgraph/sceneGraphReducer.cxx

+ 1 - 0
panda/src/pgraph/sceneGraphReducer.cxx

@@ -402,6 +402,7 @@ r_apply_attribs(PandaNode *node, const AccumulatedAttribs &attribs,
     PandaNode *child_node = node->get_child(i);
     r_apply_attribs(child_node, next_attribs, attrib_types, transformer);
   }
+  Thread::consider_yield();
 }