summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-04-18 07:02:24 +0000
committerJon A. Cruz <jon@joncruz.org>2012-04-18 07:02:24 +0000
commit36e3c5550b49949729f2f23ab1796afdc53d6487 (patch)
tree8e1dc72ecb79f130bf9c07576c7d97e44c9d0186 /src/live_effects
parentFix for 903676 : Replace GtkCList with GtkTreeView in XML Tree, fix assert on... (diff)
downloadinkscape-36e3c5550b49949729f2f23ab1796afdc53d6487.tar.gz
inkscape-36e3c5550b49949729f2f23ab1796afdc53d6487.zip
Warning cleanup
(bzr r11265)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-knot.cpp3
-rw-r--r--src/live_effects/lpe-rough-hatches.cpp8
2 files changed, 6 insertions, 5 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index 7a66b80c9..7ec103a85 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -94,7 +94,8 @@ findShadowedTime(Geom::Path const &patha, std::vector<Geom::Point> const &pt_and
using namespace Geom;
Point T = unit_vector(pt_and_dir[1]);
Point N = T.cw();
- Point A = pt_and_dir[0]-3*width*T, B = A+6*width*T;
+ //Point A = pt_and_dir[0] - 3 * width * T;
+ //Point B = A+6*width*T;
Affine mat = from_basis( T, N, pt_and_dir[0] );
mat = mat.inverse();
diff --git a/src/live_effects/lpe-rough-hatches.cpp b/src/live_effects/lpe-rough-hatches.cpp
index f9ab72373..fb3d143aa 100644
--- a/src/live_effects/lpe-rough-hatches.cpp
+++ b/src/live_effects/lpe-rough-hatches.cpp
@@ -440,8 +440,8 @@ LPERoughHatches::smoothSnake(std::vector<std::vector<Point> > const &linearSnake
for (unsigned comp=0; comp<linearSnake.size(); comp++){
if (linearSnake[comp].size()>=2){
Point last_pt = linearSnake[comp][0];
- Point last_top = linearSnake[comp][0];
- Point last_bot = linearSnake[comp][0];
+ //Point last_top = linearSnake[comp][0];
+ //Point last_bot = linearSnake[comp][0];
Point last_hdle = linearSnake[comp][0];
Point last_top_hdle = linearSnake[comp][0];
Point last_bot_hdle = linearSnake[comp][0];
@@ -482,8 +482,8 @@ LPERoughHatches::smoothSnake(std::vector<std::vector<Point> > const &linearSnake
if ( fat_output.get_value() ){
//double scaled_width = double((is_top ? stroke_width_top : stroke_width_bot))/(pt1[X]-pt0[X]);
- double scaled_width = 1./(pt1[X]-pt0[X]);
- Point hdle_offset = (pt1-pt0)*scaled_width;
+ //double scaled_width = 1./(pt1[X]-pt0[X]);
+ //Point hdle_offset = (pt1-pt0)*scaled_width;
Point inside = new_pt;
Point inside_hdle_in;
Point inside_hdle_out;