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
799389a96c
commit
73d6e8c6d1
@ -50,6 +50,11 @@ PNMFileTypeRegistry::
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void PNMFileTypeRegistry::
|
||||
register_type(PNMFileType *type) {
|
||||
if (pnmimage_cat.is_debug()) {
|
||||
pnmimage_cat.debug()
|
||||
<< "Registering image type " << type->get_name() << "\n";
|
||||
}
|
||||
|
||||
// Make sure we haven't already registered this type.
|
||||
Handles::iterator hi = _handles.find(type->get_type());
|
||||
if (hi != _handles.end()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user