summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-dynastroke.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-05 00:49:51 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-05 00:49:51 +0000
commit77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785 (patch)
tree15c3b32afa8a124f69644c8bd279dd361680974e /src/live_effects/lpe-dynastroke.cpp
parentWholesale cruft removal part 3 (diff)
downloadinkscape-77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785.tar.gz
inkscape-77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785.zip
Wholesale cruft removal part 4; fix crash when rendering guides
(bzr r9508.1.48)
Diffstat (limited to 'src/live_effects/lpe-dynastroke.cpp')
-rw-r--r--src/live_effects/lpe-dynastroke.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/lpe-dynastroke.cpp b/src/live_effects/lpe-dynastroke.cpp
index 0c97d50f0..a9f9202e9 100644
--- a/src/live_effects/lpe-dynastroke.cpp
+++ b/src/live_effects/lpe-dynastroke.cpp
@@ -97,11 +97,11 @@ LPEDynastroke::LPEDynastroke(LivePathEffectObject *lpeobject) :
registerParameter( dynamic_cast<Parameter *>(& round_ends) );
registerParameter( dynamic_cast<Parameter *>(& capping) );
- width.param_set_range(0, NR_HUGE);
+ width.param_set_range(0, Geom::infinity());
roundness.param_set_range(0.01, 1);
angle.param_set_range(-360, 360);
- growfor.param_set_range(0, NR_HUGE);
- fadefor.param_set_range(0, NR_HUGE);
+ growfor.param_set_range(0, Geom::infinity());
+ fadefor.param_set_range(0, Geom::infinity());
show_orig_path = true;
}