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>2010-10-16 18:32:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-16 18:32:17 +0400
commit8268a4be71fe326b5b7b43e5e55ef751844dddbc (patch)
tree8b3dfadff9a45f48a31ca62dd2b807434ec614b8 /source/blender/editors/mesh/editmesh_add.c
parent7cc5aaf18afd882ee8fefdf773fb83eb2e0f467b (diff)
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.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_add.c')
-rw-r--r--source/blender/editors/mesh/editmesh_add.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c
index f90f1b095e6..7b23b556994 100644
--- a/source/blender/editors/mesh/editmesh_add.c
+++ b/source/blender/editors/mesh/editmesh_add.c
@@ -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);