summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/satellitepairarray.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-21 09:55:27 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-21 09:55:27 +0000
commitcfe5bd077cc29fd43385792435f687d468aca13f (patch)
tree3e23e244b5e33a6ab9ad5f2eadf4f65f6c1b5d4f /src/live_effects/parameter/satellitepairarray.cpp
parentAdded delete nodes/satellites (diff)
downloadinkscape-cfe5bd077cc29fd43385792435f687d468aca13f.tar.gz
inkscape-cfe5bd077cc29fd43385792435f687d468aca13f.zip
fix bspline calls and atemp to fic a bug whith map
(bzr r13645.1.46)
Diffstat (limited to 'src/live_effects/parameter/satellitepairarray.cpp')
-rw-r--r--src/live_effects/parameter/satellitepairarray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/live_effects/parameter/satellitepairarray.cpp b/src/live_effects/parameter/satellitepairarray.cpp
index 045ef2060..47f023c29 100644
--- a/src/live_effects/parameter/satellitepairarray.cpp
+++ b/src/live_effects/parameter/satellitepairarray.cpp
@@ -291,9 +291,9 @@ void FilletChamferKnotHolderEntity::knot_set(Point const &p,
Geom::D2<Geom::SBasis> d2_in = pwd2[*d2_prev_index];
double mirrorTime = Geom::nearest_point(s, d2_in);
double timeStart = 0;
- std::vector<Satellite> satVector = pointwise->findPeviousSatellites(satellite.first,1);
- if(satVector.size()>0){
- timeStart = satVector[0].getTime(d2_in);
+ std::vector<unsigned int> satIndexes = pointwise->findPeviousSatellites(satellite.first,1);
+ if(satIndexes.size()>0){
+ timeStart = pointwise->getSatellites()[satIndexes[0]].second.getTime(d2_in);
}
if(timeStart > mirrorTime){
mirrorTime = timeStart;
@@ -349,9 +349,9 @@ FilletChamferKnotHolderEntity::knot_get() const
t = 0;
}
double timeStart = 0;
- std::vector<Satellite> satVector = pointwise->findPeviousSatellites(satellite.first,1);
- if(satVector.size()>0){
- timeStart = satVector[0].getTime(d2_in);
+ std::vector<unsigned int> satIndexes = pointwise->findPeviousSatellites(satellite.first,1);
+ if(satIndexes.size()>0){
+ timeStart = pointwise->getSatellites()[satIndexes[0]].second.getTime(d2_in);
}
if(timeStart > t){
t = timeStart;