summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
commitd2df0412f728dd5bb54537dfdfe7c35b34d40e0e (patch)
treee2703384779e83312c456399999997fcc289c5cf /src/sp-offset.cpp
parentMerge branch 'master' into powerpencil (diff)
parentchange assignment to equality (diff)
downloadinkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.tar.gz
inkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.zip
Merge branch 'master' into powerpencil
Diffstat (limited to 'src/sp-offset.cpp')
-rw-r--r--src/sp-offset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index e5b1b5d69..82e0b4947 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -63,7 +63,7 @@ class SPDocument;
* a change occurs to the offset (change of source or change of radius).
* just like the sp-star and other, this path derivative can make control
* points, or more precisely one control point, that's enough to define the
- * radius (look in object-edit).
+ * radius (look in shape-editor-knotholders).
*/
static void refresh_offset_source(SPOffset* offset);
@@ -764,7 +764,7 @@ vectors_are_clockwise (Geom::Point A, Geom::Point B, Geom::Point C)
}
/**
- * Distance to the original path; that function is called from object-edit
+ * Distance to the original path; that function is called from shape-editor-knotholders
* to set the radius when the control knot moves.
*
* The sign of the result is the radius we're going to offset the shape with,
@@ -1065,7 +1065,7 @@ static void sp_offset_move_compensate(Geom::Affine const *mp, SPItem */*original
// commit the compensation
self->transform *= offset_move;
- self->doWriteTransform(self->getRepr(), self->transform, &advertized_move);
+ self->doWriteTransform(self->transform, &advertized_move);
self->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}