summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-02-11 06:39:45 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-02-11 06:39:45 +0000
commit6caeca7acc23075bbb4d5300b39aa5b4b8c7b737 (patch)
tree5b4f6a574ce69904350fac84213b8a7b140adbc6
parent* src/sp-conn-end-pair.cpp, src/conn-avoid-ref.cpp: (diff)
downloadinkscape-6caeca7acc23075bbb4d5300b39aa5b4b8c7b737.tar.gz
inkscape-6caeca7acc23075bbb4d5300b39aa5b4b8c7b737.zip
make more sense of the rotation direction param
(bzr r118)
-rw-r--r--share/extensions/whirl.inx2
-rw-r--r--share/extensions/whirl.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/share/extensions/whirl.inx b/share/extensions/whirl.inx
index a92d50328..85000415f 100644
--- a/share/extensions/whirl.inx
+++ b/share/extensions/whirl.inx
@@ -6,7 +6,7 @@
<param name="centerx" type="float" min="0.0" max="10000.0" _gui-text="Center X">100.0</param>
<param name="centery" type="float" min="0.0" max="10000.0" _gui-text="Center Y">100.0</param>
<param name="whirl" type="float" min="0.00" max="1000.00" _gui-text="Amount of whirl">100.0</param>
- <param name="rotation" type="boolean" _gui-text="Direction of rotation">true</param>
+ <param name="rotation" type="boolean" _gui-text="Rotation is clockwise">true</param>
<effect>
<object-type>path</object-type>
<effects-menu>
diff --git a/share/extensions/whirl.py b/share/extensions/whirl.py
index 35dbc0840..4b234d014 100644
--- a/share/extensions/whirl.py
+++ b/share/extensions/whirl.py
@@ -39,9 +39,9 @@ class Whirl(inkex.Effect):
help="direction of rotation")
def effect(self):
for id, node in self.selected.iteritems():
- rotation = 1
+ rotation = -1
if self.options.rotation == True:
- rotation = -1
+ rotation = 1
whirl = self.options.whirl / 1000
if node.tagName == 'path':
d = node.attributes.getNamedItem('d')