mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Guard some Debug output so that it only appears when applicable ('Item::name' is only available when CANVAS_DEBUG is defined)
This commit is contained in:
parent
f5499d206a
commit
f889f391a1
1 changed files with 2 additions and 0 deletions
|
|
@ -55,7 +55,9 @@ Rectangle::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) con
|
|||
boost::optional<Rect> r = self.intersection (area);
|
||||
|
||||
if (!r) {
|
||||
#ifdef CANVAS_DEBUG
|
||||
std::cerr << whatami() << '/' << name << " not covered by render area! ... " << self << " vs. " << area << std::endl;
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue