most unused arg warnings corrected.

- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
This commit is contained in:
2010-10-16 14:32:17 +00:00
parent 7cc5aaf18a
commit 8268a4be71
249 changed files with 890 additions and 852 deletions

View File

@@ -116,7 +116,11 @@ static int dupli_extrude_cursor(bContext *C, wmOperator *op, wmEvent *event)
short use_proj;
em_setup_viewcontext(C, &vc);
wmWindow *win= CTX_wm_window(C);
printf("\n%d %d\n", event->x, event->y);
printf("%d %d\n", win->eventstate->x, win->eventstate->y);
use_proj= (vc.scene->toolsettings->snap_flag & SCE_SNAP) && (vc.scene->toolsettings->snap_mode==SCE_SNAP_MODE_FACE);
invert_m4_m4(vc.obedit->imat, vc.obedit->obmat);