mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
debug output
This commit is contained in:
parent
a5bb653f6e
commit
62c3a5bf1d
@ -64,6 +64,11 @@ clear() {
|
||||
void EggNameUniquifier::
|
||||
uniquify(EggNode *node) {
|
||||
string category = get_category(node);
|
||||
if (egg_cat.is_debug()) {
|
||||
egg_cat.debug()
|
||||
<< "Uniquifying " << node->get_name() << ", category = " << category
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
if (!category.empty()) {
|
||||
string name = filter_name(node);
|
||||
@ -80,6 +85,12 @@ uniquify(EggNode *node) {
|
||||
inserted = names.insert(UsedNames::value_type(name, node)).second;
|
||||
}
|
||||
|
||||
if (egg_cat.is_debug()) {
|
||||
egg_cat.debug()
|
||||
<< "Uniquifying " << node->get_name() << " to "
|
||||
<< name << "\n";
|
||||
}
|
||||
|
||||
node->set_name(name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user