mo' better debugging of canvas "structure" via Item::dump and derivatives
[ardour.git] / libs / canvas / poly_item.cc
index e43d48fa8d8875e09d1ebeb41aa481237cc9e625..d6e67ede0c47b5094fbc929753f0dbec5d94b53e 100644 (file)
@@ -109,8 +109,8 @@ PolyItem::dump (ostream& o) const
 {
        Item::dump (o);
 
-       o << _canvas->indent() << _points.size() << " points" << endl;
+       o << _canvas->indent() << '\t' << _points.size() << " points" << endl;
        for (Points::const_iterator i = _points.begin(); i != _points.end(); ++i) {
-               o << i->x << ", " << i->y << endl;
+               o << _canvas->indent() << "\t\t" << i->x << ", " << i->y << endl;
        }
 }