summaryrefslogtreecommitdiffstats
path: root/src/sp-spiral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-spiral.cpp')
-rw-r--r--src/sp-spiral.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp
index b9d1d11da..5d80e43fe 100644
--- a/src/sp-spiral.cpp
+++ b/src/sp-spiral.cpp
@@ -339,7 +339,6 @@ void SPSpiral::set_shape() {
}
Geom::Point darray[SAMPLE_SIZE + 1];
- double t;
this->requestModified(SP_OBJECT_MODIFIED_FLAG);
@@ -365,6 +364,7 @@ void SPSpiral::set_shape() {
Geom::Point hat1 = this->getTangent(this->t0);
Geom::Point hat2;
+ double t;
for (t = this->t0; t < (1.0 - tstep);) {
this->fitAndDraw(c, dstep, darray, hat1, hat2, &t);