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:
authorGeoffrey Bantle <hairbat@yahoo.com>2008-02-24 01:11:16 +0300
committerGeoffrey Bantle <hairbat@yahoo.com>2008-02-24 01:11:16 +0300
commite03ab146ae673ec296e97f3c146c048417833521 (patch)
tree24e5d7445c6ce151fb95f4252f23319165dacd23 /source/blender/src/space.c
parent40934ef6df34a70f2275f1208d9433830e9ccf8f (diff)
-> Bevel tools and Bmesh kernel
The following is a commit of Levi Schooley's bevel code and the bmesh library it depends on. The current editmode bevel has been replaced with a new per edge bevel function. Vertex beveling is also availible. To set weights for the modifier to use, use the ctrl-shift-e shortcut on either edges or vertices. Recursive beveling is turned of for the time being.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 1994a2fcb7f..6dacf38c544 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1896,6 +1896,18 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
extrude_armature(1);
}
}
+ else if (G.qual == (LR_CTRLKEY|LR_SHIFTKEY)) {
+ if (G.obedit && G.obedit->type==OB_MESH &&
+ !multires_level1_test()) {
+ if (G.scene->selectmode & SCE_SELECT_VERTEX) {
+ initTransform(TFM_BWEIGHT, CTX_NONE);
+ }
+ else {
+ initTransform(TFM_BWEIGHT, CTX_EDGE);
+ }
+ Transform();
+ }
+ }
break;
case FKEY:
if(G.obedit) {