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:
authorTon Roosendaal <ton@blender.org>2005-05-07 19:50:09 +0400
committerTon Roosendaal <ton@blender.org>2005-05-07 19:50:09 +0400
commit9a41ac4f70fb85490d0c4e259ba1873a4fd1c5dd (patch)
treef6b616c501569e365507bbd52d4e930db14520b5 /source/blender/blenkernel/BKE_global.h
parent71c2d1e9d6bf38e41e77981dd4eef88d44cca4fa (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r--source/blender/blenkernel/BKE_global.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h
index df8c1835847..b0904385a33 100644
--- a/source/blender/blenkernel/BKE_global.h
+++ b/source/blender/blenkernel/BKE_global.h
@@ -87,9 +87,9 @@ typedef struct Global {
/* strings: lastsaved */
char ima[160], sce[160], lib[160];
- /* totalen */
+ /* totals */
short totobj, totlamp, totobjsel, totcurve, totmesh, totmat;
- int totvert, totface, totvertsel, totfacesel;
+ int totvert, totedge, totface, totvertsel, totedgesel, totfacesel;
short machine, afbreek, moving, colact, zbuf;
short qual, background, imagewin, animspeed;