summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/resources/curve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp
index 6c27ffc6d9..1228e7e857 100644
--- a/scene/resources/curve.cpp
+++ b/scene/resources/curve.cpp
@@ -553,7 +553,7 @@ void Curve2D::_bake() const {
if (divs>1)
divs=1;
- float step = divs*0.1; // 10 substeps ought to be enough?
+ float step = 0.1; // 10 substeps ought to be enough?
float p = 0;
while(p<1.0) {
@@ -1026,7 +1026,7 @@ void Curve3D::_bake() const {
if (divs>1)
divs=1;
- float step = divs*0.1; // 10 substeps ought to be enough?
+ float step = 0.1; // 10 substeps ought to be enough?
float p = 0;
while(p<1.0) {