diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-20 13:06:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-20 13:07:35 +0300 |
commit | 6e44e4181fc1cb77997889c6414524deeb07e083 (patch) | |
tree | d7378bcb57f713dee4505e92c3e4ccb285e5e7d8 /source/blender/modifiers | |
parent | 06160adbf83573ce12c924dc5cfe1af6205717e3 (diff) |
Cleanup: warnings
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particleinstance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index f88dc789ba2..50c62821792 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -185,7 +185,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, int maxvert, maxpoly, maxloop, totpart = 0, first_particle = 0; int k, p, p_skip; short track = ob->trackflag % 3, trackneg, axis = pimd->axis; - float max_co = 0.0, min_co = 0.0, temp_co[3], cross[3]; + float max_co = 0.0, min_co = 0.0, temp_co[3]; float *size = NULL; trackneg = ((ob->trackflag > 2) ? 1 : 0); @@ -365,6 +365,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, unit_qt(state.rot); } else { + float cross[3]; float temp[3] = {0.0f, 0.0f, 0.0f}; temp[axis] = 1.0f; |