diff options
| author | quabug | 2015-01-16 14:25:14 +0800 |
|---|---|---|
| committer | quabug | 2015-01-16 15:16:41 +0800 |
| commit | 5823f90c53dee251f2edfcbde6c8bb3a0c943e11 (patch) | |
| tree | 54b6a13731af4c6e1179cd780a451cfec1af1879 /scene/resources/curve.cpp | |
| parent | 04af74596d070f062bd917b0364d87c57544f8d5 (diff) | |
| download | godot-5823f90c53dee251f2edfcbde6c8bb3a0c943e11.tar.gz godot-5823f90c53dee251f2edfcbde6c8bb3a0c943e11.tar.zst godot-5823f90c53dee251f2edfcbde6c8bb3a0c943e11.zip | |
Diffstat (limited to 'scene/resources/curve.cpp')
| -rw-r--r-- | scene/resources/curve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp index 6c27ffc6d..1228e7e85 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) { |
