mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
changed debug output
This commit is contained in:
parent
785378035f
commit
9f512d07e1
@ -154,7 +154,9 @@ write(ostream &out, unsigned int indent) const {
|
|||||||
out.width(indent); out<<""<<"DatagramIterator:\n";
|
out.width(indent); out<<""<<"DatagramIterator:\n";
|
||||||
out.width(indent+2); out<<""<<"_current_index "<<_current_index;
|
out.width(indent+2); out<<""<<"_current_index "<<_current_index;
|
||||||
if (_datagram) {
|
if (_datagram) {
|
||||||
out<<""<<" (of "<<(get_datagram().get_length())<<")\n";
|
out<<""<<" (of "<<(get_datagram().get_length())<<")";
|
||||||
|
out<<""<<" or in hex that's "<<(void*)_current_index<<" (of "
|
||||||
|
<<(void*)(get_datagram().get_length())<<")\n";
|
||||||
get_datagram().write(out, indent+2);
|
get_datagram().write(out, indent+2);
|
||||||
} else {
|
} else {
|
||||||
out<<""<<" (_datagram is null)\n";
|
out<<""<<" (_datagram is null)\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user