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:
authorTon Roosendaal <ton@blender.org>2006-07-06 21:14:03 +0400
committerTon Roosendaal <ton@blender.org>2006-07-06 21:14:03 +0400
commitcfa193ad0b4492bc37fbdfd07f7c3162e2967b66 (patch)
tree1f0d3604ed2cf06b998b816ef9bfc5a85060de30 /source/blender/src/edit.c
parent861e0a347af2c36d9834d2dd0c196e72b6555a67 (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.c3
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;