summaryrefslogtreecommitdiff
path: root/src/canvastoolselections.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvastoolselections.cc')
-rw-r--r--src/canvastoolselections.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canvastoolselections.cc b/src/canvastoolselections.cc
index 0012d8e..d3e90f1 100644
--- a/src/canvastoolselections.cc
+++ b/src/canvastoolselections.cc
@@ -293,7 +293,7 @@ void CanvasToolSelections::doAutoCreateSelections(bool preview)
if(data[from] > 0.0)
{
- while(data[from] > data[from-1] && // Falling
+ while(/*data[from] > data[from-1] &&*/ // Falling
data[from-1] > 0.0 // Not crossing zero
)
{
@@ -302,7 +302,7 @@ void CanvasToolSelections::doAutoCreateSelections(bool preview)
}
else if(data[from] < 0.0)
{
- while(data[from] < data[from-1] && // Rising
+ while(/*data[from] < data[from-1] &&*/ // Rising
data[from-1] < 0.0 // Not crossing zero
)
{