mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
more verbose debug output
This commit is contained in:
parent
00fe97f879
commit
ab60bc5782
@ -131,6 +131,28 @@ auto_bind(PandaNode *root_node, AnimControlCollection &controls,
|
||||
Parts parts;
|
||||
r_find_bundles(root_node, anims, parts);
|
||||
|
||||
if (chan_cat.is_debug()) {
|
||||
chan_cat.debug()
|
||||
<< "Found " << anims.size() << " anims:\n";
|
||||
Anims::const_iterator ai;
|
||||
for (ai = anims.begin(); ai != anims.end(); ++ai) {
|
||||
chan_cat.debug(false)
|
||||
<< " " << (*ai).first;
|
||||
}
|
||||
chan_cat.debug(false)
|
||||
<< "\n";
|
||||
|
||||
chan_cat.debug()
|
||||
<< "Found " << parts.size() << " parts:\n";
|
||||
Parts::const_iterator pi;
|
||||
for (pi = parts.begin(); pi != parts.end(); ++pi) {
|
||||
chan_cat.debug(false)
|
||||
<< " " << (*pi).first;
|
||||
}
|
||||
chan_cat.debug(false)
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
// Now, match up the bundles by name.
|
||||
|
||||
Anims::const_iterator ai = anims.begin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user