diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
commit | c78e44cdc563853c250da78ee78ba622c39126b2 (patch) | |
tree | fb116af7e1edd94ef96ae883bea727be372e2bd2 /source/blender/src/edit.c | |
parent | 77d44e88e95d86661fc8b29db923083ec747cf9d (diff) |
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/blender/src/edit.c')
-rw-r--r-- | source/blender/src/edit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 7328eb5b4db..f647ebb66e0 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -121,6 +121,10 @@ extern void uvedit_selectionCB(short selecting, Object *editobj, void circle_selectCB(select_CBfunc func); +/* local protos ---------------*/ +void snap_curs_to_firstsel(void); + + int get_border(rcti *rect, short col) { float dvec[4], fac1, fac2; @@ -931,7 +935,7 @@ void snap_curs_to_sel() #ifdef __NLA if ELEM6(G.obedit->type, OB_ARMATURE, OB_LATTICE, OB_MESH, OB_SURF, OB_CURVE, OB_MBALL) make_trans_verts(bmat[0], bmat[1], 0); #else - if ELEM5(G.obedit->type, OB_LATTICE, OB_MESH, OB_SURF, OB_CURVE, OB_MABLL) make_trans_verts(bmat[0], bmat[1], 0); + if ELEM5(G.obedit->type, OB_LATTICE, OB_MESH, OB_SURF, OB_CURVE, OB_MBALL) make_trans_verts(bmat[0], bmat[1], 0); #endif if(tottrans==0) return; |