mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
change info message to debug
This commit is contained in:
parent
697fd85726
commit
02ebda98a7
@ -744,8 +744,10 @@ p_read_object() {
|
|||||||
|
|
||||||
// Just some sanity checks
|
// Just some sanity checks
|
||||||
if (object == (TypedWritable *)NULL) {
|
if (object == (TypedWritable *)NULL) {
|
||||||
bam_cat.info()
|
if (bam_cat.is_debug()) {
|
||||||
|
bam_cat.debug()
|
||||||
<< "Unable to create an object of type " << type << endl;
|
<< "Unable to create an object of type " << type << endl;
|
||||||
|
}
|
||||||
|
|
||||||
} else if (object->get_type() != type) {
|
} else if (object->get_type() != type) {
|
||||||
if (_new_types.find(type) != _new_types.end()) {
|
if (_new_types.find(type) != _new_types.end()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user