projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5499d2
)
Guard some Debug output so that it only appears when applicable ('Item::name' is...
author
John Emmas
<johne53@tiscali.co.uk>
Thu, 13 Feb 2014 13:57:38 +0000
(13:57 +0000)
committer
John Emmas
<johne53@tiscali.co.uk>
Thu, 13 Feb 2014 14:12:36 +0000
(14:12 +0000)
libs/canvas/rectangle.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/rectangle.cc
b/libs/canvas/rectangle.cc
index d5808b9bb0e26cce35d934ed2a109c6cb5ee6884..4c5304aafd4f5925922054aad6d10a3ee4387195 100644
(file)
--- a/
libs/canvas/rectangle.cc
+++ b/
libs/canvas/rectangle.cc
@@
-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;
}