From e7aeaa6686b087d1226f08936971371cd640e089 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan <> Date: Sun, 8 Mar 2015 17:10:20 +0100 Subject: i10n. Fix for Bug #1429579 (Various typos in the trunk code). Fixed bugs: - https://launchpad.net/bugs/1429579 (bzr r13976) --- share/extensions/pathscatter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/extensions/pathscatter.py') diff --git a/share/extensions/pathscatter.py b/share/extensions/pathscatter.py index 268e31069..5c2857979 100755 --- a/share/extensions/pathscatter.py +++ b/share/extensions/pathscatter.py @@ -80,7 +80,7 @@ def stretch(pathcomp,xscale,yscale,org): def linearize(p,tolerance=0.001): ''' - This function recieves a component of a 'cubicsuperpath' and returns two things: + This function receives a component of a 'cubicsuperpath' and returns two things: The path subdivided in many straight segments, and an array containing the length of each segment. We could work with bezier path as well, but bezier arc lengths are (re)computed for each point @@ -186,7 +186,7 @@ class PathScatter(pathmodifier.Diffeo): def lengthtotime(self,l): ''' Recieves an arc length l, and returns the index of the segment in self.skelcomp - containing the coresponding point, to gether with the position of the point on this segment. + containing the corresponding point, to gether with the position of the point on this segment. If the deformer is closed, do computations modulo the toal length. ''' @@ -203,7 +203,7 @@ class PathScatter(pathmodifier.Diffeo): def localTransformAt(self,s,follow=True): ''' - recieves a length, and returns the coresponding point and tangent of self.skelcomp + receives a length, and returns the coresponding point and tangent of self.skelcomp if follow is set to false, returns only the translation ''' i,t=self.lengthtotime(s) -- cgit v1.2.3