diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-09-17 16:06:00 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-09-17 16:06:00 +0000 |
| commit | 327bdefa15f8af59741dcb91a0d434d5b23b1ac8 (patch) | |
| tree | 4f5f328790980594016aa48ac19aa336e471b173 /src/live_effects | |
| parent | Fix bug #1460858 Ruler LPE does not consider drawing scale (page size / viewBox) (diff) | |
| download | inkscape-327bdefa15f8af59741dcb91a0d434d5b23b1ac8.tar.gz inkscape-327bdefa15f8af59741dcb91a0d434d5b23b1ac8.zip | |
Flushing std::cout
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/lpe-fillet-chamfer.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-knot.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index be5979f31..2b052ace1 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -98,14 +98,12 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem) Geom::PathVector const pathv = pathv_to_linear_and_cubic_beziers(shape->getCurve()->get_pathvector()); Satellites satellites; double power = radius; - std::cout << power << "power\n"; if (!flexible) { SPDocument * document = SP_ACTIVE_DOCUMENT; SPNamedView *nv = sp_document_namedview(document, NULL); Glib::ustring display_unit = nv->display_units->abbr; power = Inkscape::Util::Quantity::convert(power, unit.get_abbreviation(), display_unit.c_str()); } - std::cout << power << "power22222222\n"; SatelliteType satellite_type = FILLET; std::map<std::string, SatelliteType> gchar_map_to_satellite_type = boost::assign::map_list_of("F", FILLET)("IF", INVERSE_FILLET)("C", CHAMFER)("IC", INVERSE_CHAMFER)("KO", INVALID_SATELLITE); diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 261612fdb..22c548c1d 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -199,7 +199,7 @@ CrossingPoints::CrossingPoints(Geom::PathVector const &paths) : std::vector<Cros cp.tj = times[k].second + jj; push_back(cp); }else{ - std::cout<<"ooops: find_(self)_intersections returned NaN:"; + std::cout<<"ooops: find_(self)_intersections returned NaN:" << std::endl; //std::cout<<"intersection "<<i<<"["<<ii<<"](NaN)= "<<j<<"["<<jj<<"](NaN)\n"; } } |
