From c3d1efc07d9ec66280517785baddf7deffae8095 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 16 Dec 2008 19:46:55 +0000 Subject: [PATCH] yield more aggressively during flatten --- panda/src/pgraph/sceneGraphReducer.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/pgraph/sceneGraphReducer.cxx b/panda/src/pgraph/sceneGraphReducer.cxx index d22bd791fe..5baffd73f8 100644 --- a/panda/src/pgraph/sceneGraphReducer.cxx +++ b/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(); }