fixed selectorStride bug
This commit is contained in:
parent
8da8afbe63
commit
5f8ea2d841
|
@ -31,9 +31,9 @@ pFlow::selectorStridedRange::selectAllPointsInRange()
|
||||||
|
|
||||||
selectedPoints_.clear();
|
selectedPoints_.clear();
|
||||||
|
|
||||||
for (uint32 i = begin_; i < end_; i += stride_)
|
for (uint32 i = begin_; i <= end_; i += stride_)
|
||||||
{
|
{
|
||||||
selectedPoints_.push_back(i);
|
selectedPoints_.push_back(i - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue