summaryrefslogtreecommitdiffstats
path: root/src/helper
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-05-06 17:45:16 +0000
committerJabiertxof <jtx@jtx>2017-05-06 17:45:16 +0000
commit5004996c798cdbad5ff7abbaf2e7272411631cee (patch)
tree9fbb940c15170a68e284dd8ca4a09f84eb8c311d /src/helper
parentUpdating code to trunk (diff)
downloadinkscape-5004996c798cdbad5ff7abbaf2e7272411631cee.tar.gz
inkscape-5004996c798cdbad5ff7abbaf2e7272411631cee.zip
Pre merge fixing
(bzr r13645.1.177)
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/geom-pathvectorsatellites.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/helper/geom-pathvectorsatellites.cpp b/src/helper/geom-pathvectorsatellites.cpp
index dd231d78f..e995c0a9b 100644
--- a/src/helper/geom-pathvectorsatellites.cpp
+++ b/src/helper/geom-pathvectorsatellites.cpp
@@ -67,9 +67,7 @@ void PathVectorSatellites::setSelected(std::vector<size_t> selected)
size_t counter = 0;
for (size_t i = 0; i < _satellites.size(); ++i) {
for (size_t j = 0; j < _satellites[i].size(); ++j) {
- std::cout << j;
if (find (selected.begin(), selected.end(), counter) != selected.end()) {
-
_satellites[i][j].setSelected(true);
} else {
_satellites[i][j].setSelected(false);
@@ -134,6 +132,9 @@ void PathVectorSatellites::updateAmount(double radius, bool apply_no_radius, boo
if (!use_knot_distance && !flexible) {
if (previous_index) {
_satellites[i][j].amount = _satellites[i][j].radToLen(power, _pathvector[i][*previous_index], _pathvector[i][j]);
+ if (power && !_satellites[i][j].amount) {
+ g_warning("Seems a too high radius value");
+ }
} else {
_satellites[i][j].amount = 0.0;
}