Bläddra i källkod

yield more aggressively during flatten

David Rose 17 år sedan
förälder
incheckning
c3d1efc07d
1 ändrade filer med 1 tillägg och 0 borttagningar
  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();
 }