r16672 by craig - #9392: Fix contour line scaling by distance
scribus-commit
scribus-commit at lists.scribus.net
Thu Jun 16 22:14:55 UTC 2011
Author: craig
Date: Thu Jun 16 22:14:55 2011
New Revision: 16672
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16672
Log:
#9392: Fix contour line scaling by distance
Modified:
branches/Version135/Scribus/scribus/nodeeditpalette.cpp
Modified: branches/Version135/Scribus/scribus/nodeeditpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16672&path=/branches/Version135/Scribus/scribus/nodeeditpalette.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/nodeeditpalette.cpp (original)
+++ branches/Version135/Scribus/scribus/nodeeditpalette.cpp Thu Jun 16 22:14:55 2011
@@ -466,13 +466,13 @@
void NodePalette::doReduce()
{
if (doc != 0)
- view->TransformPoly(8, 1, scaleDistance->value()/unitGetRatioFromIndex(doc->unitIndex()));
+ view->TransformPoly(8, 1, value2pts(scaleDistance->value(),doc->unitIndex()));
}
void NodePalette::doEnlarge()
{
if (doc != 0)
- view->TransformPoly(9, 1, scaleDistance->value()/unitGetRatioFromIndex(doc->unitIndex()));
+ view->TransformPoly(9, 1, value2pts(scaleDistance->value(),doc->unitIndex()));
}
void NodePalette::ShearR()
More information about the scribus-commit
mailing list