code cleanup: use functions to initialize selection user data structs, use radius...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 5 Oct 2012 15:44:11 +0000 (15:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 5 Oct 2012 15:44:11 +0000 (15:44 +0000)
commitdb70bfc206538a9582e17a3eedcd1923e3f8d2c8
treef42791067d415a2c72683a6dc58b7540a63b08c0
parentd3cdaca648740ec6e11aebecc243442aa5ae7142
code cleanup: use functions to initialize selection user data structs, use radius-squared for circle select comparisons.
edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.
16 files changed:
source/blender/blenlib/BLI_lasso.h
source/blender/blenlib/intern/lasso.c
source/blender/editors/include/ED_mesh.h
source/blender/editors/include/ED_particle.h
source/blender/editors/include/ED_view3d.h
source/blender/editors/mask/mask_select.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/object/object_constraint.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/space_clip/tracking_select.c
source/blender/editors/space_node/node_select.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/transform/transform.c
source/blender/editors/uvedit/uvedit_ops.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c