diff options
author | Ton Roosendaal <ton@blender.org> | 2006-07-06 21:14:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-07-06 21:14:03 +0400 |
commit | cfa193ad0b4492bc37fbdfd07f7c3162e2967b66 (patch) | |
tree | 1f0d3604ed2cf06b998b816ef9bfc5a85060de30 /source/blender/src/edit.c | |
parent | 861e0a347af2c36d9834d2dd0c196e72b6555a67 (diff) |
Very minor warning fix for gcc4 in these 2 files (unitialized array)
Diffstat (limited to 'source/blender/src/edit.c')
-rw-r--r-- | source/blender/src/edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 8d9f1d74c62..c48539ba736 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -1401,7 +1401,8 @@ void snap_to_center() /*calculate the snaplocation (centerpoint) */ count= 0; INIT_MINMAX(min, max); - centroid[0]= centroid[1]= centroid[2]= 0.0; + centroid[0]= centroid[1]= centroid[2]= 0.0f; + snaploc[0]= snaploc[1]= snaploc[2]= 0.0f; if(G.obedit) { tottrans= 0; |