mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
add debugging statements
This commit is contained in:
parent
5812050104
commit
e32fb9c7ef
@ -143,6 +143,11 @@ write_object(const TypedWritable *object) {
|
|||||||
util_cat.info()
|
util_cat.info()
|
||||||
<< "Writing " << registered_type << " instead of " << type << "\n";
|
<< "Writing " << registered_type << " instead of " << type << "\n";
|
||||||
type = registered_type;
|
type = registered_type;
|
||||||
|
|
||||||
|
} else if (util_cat.is_debug()) {
|
||||||
|
util_cat.debug()
|
||||||
|
<< "Writing " << type << " object id " << object_id
|
||||||
|
<< " to bam file\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
write_handle(dg, type);
|
write_handle(dg, type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user