Patch from Tom Musgrove to bypass extrude popup on singular selections...
authorTon Roosendaal <ton@blender.org>
Sat, 7 May 2005 15:50:09 +0000 (15:50 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 7 May 2005 15:50:09 +0000 (15:50 +0000)
commit9a41ac4f70fb85490d0c4e259ba1873a4fd1c5dd
treef6b616c501569e365507bbd52d4e930db14520b5
parent71c2d1e9d6bf38e41e77981dd4eef88d44cca4fa
Patch from Tom Musgrove to bypass extrude popup on singular selections...
Implementation had some issues though, since:

a) Blender has no stats available that tells amount of selected edges
b) Bypassing the popup should be 100% accurate
b) Once you do that, the popup should actually only show possible
   choices as well.

So! I've added a G.totedge and G.totedgesel, also being printed in the
info header. Using this variable the extrude popups could be limited too.

Also: made 'normal alignment' for edge-only selections work when the
normal wasn't pointing OK. Now it aligns the Z axis with the edge itself
Exact algorithm for choosing a 'normal' and 'plane' still is weak.
source/blender/blenkernel/BKE_global.h
source/blender/src/edit.c
source/blender/src/editmesh_mods.c
source/blender/src/editmesh_tools.c
source/blender/src/header_info.c
source/blender/src/transform_manipulator.c