diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-09 23:50:46 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-09 23:50:46 +0000 |
| commit | 05a8ca8653fefcdc59e3ee1d1416829ec2712c8f (patch) | |
| tree | 5d7f4a26ccae7463b72801bdcfa9e48c4a98b664 /src/live_effects/parameter/filletchamferpointarray.cpp | |
| parent | improve regex from DPI Switcher (diff) | |
| download | inkscape-05a8ca8653fefcdc59e3ee1d1416829ec2712c8f.tar.gz inkscape-05a8ca8653fefcdc59e3ee1d1416829ec2712c8f.zip | |
fix a bug pointed by su_v in fillet chamfer dialog, about units
(bzr r13697)
Diffstat (limited to '')
| -rw-r--r-- | src/live_effects/parameter/filletchamferpointarray.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.cpp b/src/live_effects/parameter/filletchamferpointarray.cpp index 31d996ad0..cf9ef3132 100644 --- a/src/live_effects/parameter/filletchamferpointarray.cpp +++ b/src/live_effects/parameter/filletchamferpointarray.cpp @@ -354,6 +354,11 @@ void FilletChamferPointArrayParam::set_pwd2( last_pwd2_normal = pwd2_normal_in; } +void FilletChamferPointArrayParam::set_document_unit(Glib::ustring const * value_document_unit) +{ + documentUnit = value_document_unit; +} + void FilletChamferPointArrayParam::set_helper_size(int hs) { helper_size = hs; @@ -819,7 +824,7 @@ void FilletChamferPointArrayParamKnotHolderEntity::knot_click(guint state) bool aprox = (A[0].degreesOfFreedom() != 2 || B[0].degreesOfFreedom() != 2) && !_pparam->use_distance?true:false; Geom::Point offset = Geom::Point(xModified, _pparam->_vector.at(_index).y()); Inkscape::UI::Dialogs::FilletChamferPropertiesDialog::showDialog( - this->desktop, offset, this, _pparam->unit, _pparam->use_distance, aprox); + this->desktop, offset, this, _pparam->unit, _pparam->use_distance, aprox, _pparam->documentUnit); } } |
