Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_array.c')
-rw-r--r--source/blender/modifiers/intern/MOD_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index 15a7e51e865..bc283e7a086 100644
--- a/source/blender/modifiers/intern/MOD_array.c
+++ b/source/blender/modifiers/intern/MOD_array.c
@@ -509,8 +509,8 @@ static DerivedMesh *arrayModifier_doArray(
#endif
if (amd->curve_ob->curve_cache && amd->curve_ob->curve_cache->path) {
- float scale = mat4_to_scale(amd->curve_ob->obmat);
- length = scale * amd->curve_ob->curve_cache->path->totdist;
+ float scale_fac = mat4_to_scale(amd->curve_ob->obmat);
+ length = scale_fac * amd->curve_ob->curve_cache->path->totdist;
}
}
}