summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-10-30 01:20:43 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-10-30 01:20:43 +0000
commit830f59607d9a29552833abe25d2e8967e3ccc96d (patch)
treeacdb59ad34523eba0079646b387179ccd19bebf3 /src/display/drawing-item.cpp
parentFix version numbers (diff)
downloadinkscape-830f59607d9a29552833abe25d2e8967e3ccc96d.tar.gz
inkscape-830f59607d9a29552833abe25d2e8967e3ccc96d.zip
Re-enable warning commented out from pony2ink branch
(bzr r13644)
Diffstat (limited to 'src/display/drawing-item.cpp')
-rw-r--r--src/display/drawing-item.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp
index 9bb81cea5..8ed74b550 100644
--- a/src/display/drawing-item.cpp
+++ b/src/display/drawing-item.cpp
@@ -870,10 +870,9 @@ DrawingItem::pick(Geom::Point const &p, double delta, unsigned flags)
{
// Sometimes there's no BBOX in state, reason unknown (bug 992817)
// I made this not an assert to remove the warning
- // This warning clutters the console output, so commented out
if (!(_state & STATE_BBOX) || !(_state & STATE_PICK)) {
- /*g_warning("Invalid state when picking: STATE_BBOX = %d, STATE_PICK = %d",
- _state & STATE_BBOX, _state & STATE_PICK);*/
+ g_warning("Invalid state when picking: STATE_BBOX = %d, STATE_PICK = %d",
+ _state & STATE_BBOX, _state & STATE_PICK);
return NULL;
}
// ignore invisible and insensitive items unless sticky