From 455a09b3cc7f8168b6f6a07e859ff76a05114581 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 24 Sep 2004 00:50:42 +0000 Subject: [PATCH] changed output and write (debug) --- panda/src/physics/baseForce.cxx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/panda/src/physics/baseForce.cxx b/panda/src/physics/baseForce.cxx index 816449f4d6..f3f24eaa86 100644 --- a/panda/src/physics/baseForce.cxx +++ b/panda/src/physics/baseForce.cxx @@ -60,7 +60,7 @@ BaseForce:: void BaseForce:: output(ostream &out) const { #ifndef NDEBUG //[ - out<<"BaseForce"; + out<<"BaseForce (id "<write(out, indent+4); + } else { + out.width(indent+4); out<<""<<"null\n"; + } + out.width(indent+2); out<<""; out<<"_active "<<_active<<"\n"; //TypedReferenceCount::write(out); #endif //] NDEBUG