summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/satellitesarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/satellitesarray.cpp')
-rw-r--r--src/live_effects/parameter/satellitesarray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/parameter/satellitesarray.cpp b/src/live_effects/parameter/satellitesarray.cpp
index 8cf517852..c7bc7f026 100644
--- a/src/live_effects/parameter/satellitesarray.cpp
+++ b/src/live_effects/parameter/satellitesarray.cpp
@@ -378,7 +378,7 @@ Geom::Point FilletChamferKnotHolderEntity::knot_get() const
Satellite satellite = _pparam->_vector[path_index][curve_index];
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
if (satellite.hidden ||
- !pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ (!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return Geom::Point(Geom::infinity(), Geom::infinity());
@@ -434,7 +434,7 @@ void FilletChamferKnotHolderEntity::knot_click(guint state)
return;
}
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
- if (!pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ if ((!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return;
@@ -532,7 +532,7 @@ void FilletChamferKnotHolderEntity::knot_set_offset(Satellite satellite)
}
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
if (satellite.hidden ||
- !pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ (!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return;