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>2011-05-24 21:25:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-24 21:25:11 +0400
commit9f1a021068bf5d2891aacb49b6d56d6d1f51458c (patch)
tree6ae42359f264b78b166d0c7b12a36338aa91fc82 /source/blender/windowmanager/intern/wm_operators.c
parent15289c60480a31a4064e7132cb208b01cabfdd1b (diff)
remove some warnings and possible use of un-initialized vars.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index fc2c0338bdf..8ac7a3d7eb6 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -2835,6 +2835,8 @@ static void radial_control_paint_cursor(bContext *C, int x, int y, void *customd
alpha = 0.75;
break;
default:
+ tex_radius= WM_RADIAL_CONTROL_DISPLAY_SIZE; /* note, this is a dummy value */
+ alpha = 0.75;
break;
}
@@ -3094,6 +3096,7 @@ static int radial_control_modal(bContext *C, wmOperator *op, wmEvent *event)
if(snap) new_value = DEG2RADF(((int)RAD2DEGF(new_value) + 5) / 10*10);
break;
default:
+ new_value = dist; /* dummy value, should this ever happen? - campbell */
break;
}