spam output

This commit is contained in:
David Rose 2011-06-13 16:13:50 +00:00
parent fd2d3900cf
commit e58cd23fd8
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "cullableObject.h"
#include "cullHandler.h"
#include "omniBoundingVolume.h"
#include "config_pgraph.h"
TypeHandle CallbackNode::_type_handle;
@ -146,6 +147,12 @@ is_renderable() const {
////////////////////////////////////////////////////////////////////
void CallbackNode::
add_for_draw(CullTraverser *trav, CullTraverserData &data) {
if (pgraph_cat.is_spam()) {
pgraph_cat.spam()
<< "Found " << *this << " in state " << *data._state
<< " draw_mask = " << data._draw_mask << "\n";
}
// OK, render this node. Rendering this node means creating a
// CullableObject for the draw_callback, if any. We don't need to
// pass any Geoms, however.