mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -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()
|
||||
<< "Writing " << registered_type << " instead of " << type << "\n";
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user