summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0daf8c6)
raw | patch | inline | side by side (parent: 0daf8c6)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 11 Feb 2006 06:39:45 +0000 (06:39 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 11 Feb 2006 06:39:45 +0000 (06:39 +0000) |
share/extensions/whirl.inx | patch | blob | history | |
share/extensions/whirl.py | patch | blob | history |
index a92d50328a8cfefd370161451861af9cf952e760..85000415fbf0e6048d05761ed4638c5f26ebd952 100644 (file)
<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>
index 35dbc0840bab7027118509fb3053efcd2c42045c..4b234d0143f4b1d0a8f5ff3c0179449afe46bf35 100644 (file)
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')