From 60dd748c2707eba8a3aae391eacef782d5f10881 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Wed, 1 Sep 2004 01:10:03 +0000 Subject: [PATCH] changed more debug output --- panda/src/physics/physical.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/panda/src/physics/physical.cxx b/panda/src/physics/physical.cxx index c2b956fbf2..e2e0570915 100644 --- a/panda/src/physics/physical.cxx +++ b/panda/src/physics/physical.cxx @@ -199,12 +199,13 @@ write_angular_forces(ostream &out, unsigned int indent) const { void Physical:: write(ostream &out, unsigned int indent) const { #ifndef NDEBUG //[ - out.width(indent); out<<""<<"Physical:\n"; + out.width(indent); out<<""<<"Physical\n"; write_physics_objects(out, indent+2); write_linear_forces(out, indent+2); write_angular_forces(out, indent+2); if (_phys_body) { - _phys_body->write(out, indent+2); + out.width(indent+2); out<<""<<"_phys_body\n"; + _phys_body->write(out, indent+4); } else { out.width(indent+2); out<<""<<"_phys_body is null\n"; }