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:
authorCampbell Barton <ideasman42@gmail.com>2009-09-12 22:52:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-12 22:52:26 +0400
commit0fb9380b03c2cb403e54e342da36c23a27c75597 (patch)
treefc2fbbf259b4898b3f7faa2fe17e421dc728fb56 /source/blender/editors/object/object_edit.c
parent5392a90e2862df43fd82d5fbe24faaf3ca6888c9 (diff)
- adding nurbs sufraces messed up when adding with both editmode and align to view disabled.
- Vkey was being caught by the vertex paint mode, blocking it for curve edit where it sets the handle type. Now mode keys pass through if they dont apply to the object type. - set handles had invalid default
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r--source/blender/editors/object/object_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index daa63da03db..aaf6ed387c7 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -1985,7 +1985,7 @@ static int object_mode_set_exec(bContext *C, wmOperator *op)
int toggle = RNA_boolean_get(op->ptr, "toggle");
if(!ob || !object_mode_set_compat(C, op, ob))
- return OPERATOR_CANCELLED;
+ return OPERATOR_PASS_THROUGH;
/* Exit current mode if it's not the mode we're setting */
if(ob->mode != OB_MODE_OBJECT && ob->mode != mode)