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:
authorCampbell Barton <ideasman42@gmail.com>2012-03-24 00:18:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-24 00:18:09 +0400
commit7ff77ed4ea7c6d8fb8b2e75320175b9cbd6ff20a (patch)
treefcdb22c3f2fa64e08a6cf8182b80405ab0e141f9 /source/blender/modifiers/intern
parent402a9d59383d68bff72b3c9da3e53f3e5abcd578 (diff)
code cleanup: use zero_v3
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r--source/blender/modifiers/intern/MOD_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index 3949938321a..13c1739bd3f 100644
--- a/source/blender/modifiers/intern/MOD_array.c
+++ b/source/blender/modifiers/intern/MOD_array.c
@@ -70,7 +70,7 @@ static void initData(ModifierData *md)
*/
amd->start_cap = amd->end_cap = amd->curve_ob = amd->offset_ob = NULL;
amd->count = 2;
- amd->offset[0] = amd->offset[1] = amd->offset[2] = 0;
+ zero_v3(amd->offset);
amd->scale[0] = 1;
amd->scale[1] = amd->scale[2] = 0;
amd->length = 0;